-
Notifications
You must be signed in to change notification settings - Fork 9
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
New Features and Improvements to AstroImages #30
Conversation
Absolutely. We're discussing ways to implement a package like that over at: lorenzoh/Invariants.jl#2 |
The docs aren't ready yet & there are still some rough edges but I think this is about ready to merge. The last major outstanding thing is FileIO.jl registration. # TODO: This should be registered correctly with FileIO
del_format(format"FITS")
add_format(format"FITS",
# See https://www.loc.gov/preservation/digital/formats/fdd/fdd000317.shtml#sign
[0x53,0x49,0x4d,0x50,0x4c,0x45,0x20,0x20,0x3d,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54],
[".fit", ".fits", ".fts", ".FIT", ".FITS", ".FTS", ".fit",],
[:FITSIO => UUID("525bcba6-941b-5504-bd06-fd0dc1a4d2eb")],
[:AstroImages => UUID("fe3fc30c-9b16-11e9-1c73-17dabf39f4ad")]
) in When running Does anyone know the procedure to request that change in the FileIO registry? Do I need to run this the (other) FITSIO maintainers? Edit: it would be nice for this to work with .fits.gz but I wasn't able to make that work. I'm not sure FileIO can differentiate .fits.gz from .gz. |
Even with the FileIO registration question outstanding, I think this is ready for a review and merge. |
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.
I went through this very quickly. Amazing work, looking forward to future developments!
Thanks @giordano and everyone else for your help and guidance along the way! Will merge now and prep to tag a new release. |
History: #29
Status: T-2 weeks until ready to review & merge
This PR is an overhaul of AstroImages to address the following issues:
It implements a new AstroImage struct based on DimensionalData.jl that:
sum(img, dims=X)
.It implements a new
imview
function for rendering arrays to static images that supports:It also implements plot recipes that:
image
series instead of heatmaps and reusesimview
Still TODO:
recenter function for adjusting image originBetter interface for RGB compositesKnown issues:
Gallery
More: