Skip to content
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

change naxis in wcs #43

Open
guanyilun opened this issue Jan 25, 2022 · 2 comments
Open

change naxis in wcs #43

guanyilun opened this issue Jan 25, 2022 · 2 comments

Comments

@guanyilun
Copy link
Contributor

Is there any reason why :naxis isn't included in setproperty!? For example I'm interested in a function like sub(n) in astropy.wcs that truncates the axes. It looks like the easiest way to implement this is to change naxis because everything else references that in getproperty, but I can't do that with setproperty! and had to call setfield!, so I wonder if there's some consideration behind the choice that I'm not aware of, or maybe that could be easily added? Thanks so much!

@giordano
Copy link
Member

I'm taking the occasion to point out that we're going to have a JuliaAstro meeting next Friday at 19:00 UTC. You can read more on discourse: https://discourse.julialang.org/t/organising-juliaastro-meeting/72313/4

@giordano
Copy link
Member

Regarding your question, I'm not an expert of WCS, but my guess is that naxis is supposed to be constant for each instance?

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

No branches or pull requests

2 participants