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

to_fits units #67

Open
Sulla2012 opened this issue Nov 7, 2024 · 0 comments
Open

to_fits units #67

Sulla2012 opened this issue Nov 7, 2024 · 0 comments

Comments

@Sulla2012
Copy link

Sulla2012 commented Nov 7, 2024

In map.to_fit, currently the CRVALs are set via self.header["CRVAL1"] = np.radians(self.center[0]), but self.center is already in units of radians. Instead, I think this should be self.header["CRVAL1"] = np.rad2deg(self.center[0]) no match the units in the header. Same with self.header["CDELT1"]

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

1 participant