Skip to content

Allow minimal maps to default to generic discriminator - #33

Closed
msyriac wants to merge 1 commit into
mainfrom
generic_disc
Closed

Allow minimal maps to default to generic discriminator#33
msyriac wants to merge 1 commit into
mainfrom
generic_disc

Conversation

@msyriac

@msyriac msyriac commented Sep 28, 2025

Copy link
Copy Markdown
Member

This adds an 'unknown' discriminator with color range [-1,1] that maps with minimal FITS headers will default to. This allows a broad class of maps to be opened without having to have their FITS headers edited.

@msyriac
msyriac marked this pull request as draft September 30, 2025 02:09
@msyriac

msyriac commented Sep 30, 2025

Copy link
Copy Markdown
Member Author

I'll try to get this to work with multi-component maps before asking for a review.

@msyriac
msyriac marked this pull request as ready for review September 30, 2025 02:36
@msyriac

msyriac commented Sep 30, 2025

Copy link
Copy Markdown
Member Author

If a (3,Ny,Nx) map is in the FITS, it already defaults to the IQU discriminator. All this PR does is allow generic (Ny,Nx) maps (a very common use case) to be loaded, at least until the discriminator system becomes a bit more flexible. So this should be good now.

@JBorrow JBorrow closed this Oct 1, 2025
@JBorrow

JBorrow commented Oct 1, 2025

Copy link
Copy Markdown
Member

Implemented elsewhere

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