-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inclusion of AVN datafile format. #232
base: master
Are you sure you want to change the base?
Conversation
Excellent! |
katdal/h5datav2_5.py
Outdated
|
||
@property | ||
def u(self): | ||
raise NotImplementedError("File is AVN Single-dish format, uv-plane is not applicable.") |
There was a problem hiding this comment.
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 :-)
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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...
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
…to make_pmodel_string().
…Fixed typo in __init__ kwargs.
…s of the sampling frequency.
…nna from the dataset.
…ENSOR_PROPS update dictionary.
@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? |
Inclusion of AVN datafile format for reduction of single-dish observations in Ghana.