Skip to content

feature/fits interface#162

Merged
Jammy2211 merged 13 commits intomainfrom
feature/fits_interface
Apr 2, 2025
Merged

feature/fits interface#162
Jammy2211 merged 13 commits intomainfrom
feature/fits_interface

Conversation

@Jammy2211
Copy link
Owner

Refactors the majority of astropy.fits.io functionality into a single module, fitsable.py in PyAutoConf.

This is used in other projects to unify .fits interfaces and separates all functionality into a single module.

PyAutoFit still interfaces with astropy directly in places like the aggregator, as it uses single-line python astropy interfaces that are clearer written as they currently are.

@Jammy2211 Jammy2211 requested a review from rhayes777 March 24, 2025 19:35
@Jammy2211 Jammy2211 changed the title Feature/fits interface feature/fits interface Mar 24, 2025
Comment on lines +719 to +724
return {
"PIXSCAY": self.pixel_scales[0],
"PIXSCAX": self.pixel_scales[1],
"ORIGINY": self.origin[0],
"ORIGINX": self.origin[1],
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

This might also be nice with enum member keys

@Jammy2211 Jammy2211 merged commit 2485318 into main Apr 2, 2025
0 of 8 checks passed
@Jammy2211 Jammy2211 deleted the feature/fits_interface branch April 30, 2025 18:13
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.

2 participants