Skip to content

Conversation

@james-smith-za
Copy link
Contributor

Inclusion of AVN datafile format for reduction of single-dish observations in Ghana.

@sjperkins sjperkins removed their request for review March 4, 2019 13:05
@ludwigschwardt
Copy link
Contributor

Excellent!


@property
def u(self):
raise NotImplementedError("File is AVN Single-dish format, uv-plane is not applicable.")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or you could just return 0 :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would that be valid? I'm concerned that if a user unwittingly uses this, it may cause unexpected weird results.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be. That's where single-dish data goes...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay. Would that be true of u, v and w? Or just u?

Copy link
Contributor

@ludwigschwardt ludwigschwardt Mar 5, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of them. Just remember to return an array with the appropriate shape.

Copy link
Contributor Author

@james-smith-za james-smith-za Mar 5, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in ca0e58d. Have I understood correctly? There's only one "baseline", so the array should really only have one dimension I think.

@james-smith-za
Copy link
Contributor Author

@ludwigschwardt I realise this is not a priority right now, but this PR has been dangling for quite a while.

I don't really have an opinion either way - if more work is needed to clean it up, or if it should just be closed. What are your thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants