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

Parameter mismatch in adjustWCSToReference #465

Open
nguevara opened this issue Sep 13, 2024 · 0 comments
Open

Parameter mismatch in adjustWCSToReference #465

nguevara opened this issue Sep 13, 2024 · 0 comments

Comments

@nguevara
Copy link

Hi, I just wanted to point out that in v3.2.0 and v3.2.1 there's a mismatch between the adjustWCSToReference primitive parameters listed in /geminidr/core/primitives_spect.py and the parameter file /geminidr/core/parameters_spect.py.
The first one says:

 method : str ['correlation' | 'offsets']
            Method to use to compute offsets. 'correlation' uses a
            correlation of the slit profiles (the 2d images stacked
            on the dispersion axis), 'offsets' uses the QOFFSET keyword.

while the second one says:

    method = config.ChoiceField("Alignment method", str,
                                allowed={"sources_wcs": "Match sources using WCS",
                                         "sources_offsets": "Match sources using telescope offsets",
                                         "offsets": "Use telescope offsets only"},
                                default="sources_wcs", optional=False)
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