-
Notifications
You must be signed in to change notification settings - Fork 65
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
StokesSpectralCube access #750
Comments
I've got a PR ready with the first suggestion, but I like the second one a lot more. Both @preshanth and I can work on implementing that for the Stokes cubes. |
I agree that we should implement something along the second style of |
As per the second suggestion in radio-astro-tools#750 - the Stokes data can now be accessed via cube['I'], cube['Q'] etc. Assigning new keys is not yet supported and will throw NotImplementedError if attempted.
As per the second suggestion in radio-astro-tools#750 - the Stokes data can now be accessed via cube['I'], cube['Q'] etc. Assigning new keys is not yet supported and will throw NotImplementedError if attempted.
closed by #751 |
To access the components of a
StokesSpectralCube
, you presently need to access a private attribute, for example:That's not good! We should probably implement at least a public access like:
and better still,
@Kitchi, what do you think?
A PR would be welcome!
The text was updated successfully, but these errors were encountered: