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

REL-4638: F2 ITC calculation of exposure time & number of exposures to achieve S/N #2323

Merged
merged 6 commits into from
Jan 26, 2025

Conversation

andrewwstephens
Copy link
Collaborator

This updates the Flamingos2 ITC to support specifying only the desired S/N and return the exposure time, number of exposures, and the read mode.

I see that the read mode is not being automatically set for imaging mode, so this will still need a bit of work.

Log.fine(String.format("maxFlux = %.0f e-", maxFlux));

// Perform an initial run of the ITC to get the signal and background for this target at this wavelength
readMode = ReadMode.MEDIUM_OBJECT_SPEC; // arbitrary choice
Copy link
Contributor

Choose a reason for hiding this comment

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

Will this be a parmeter in the future?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We may be able to avoid it by setting the read mode based on the returned exposure time.

Copy link
Contributor

@cquiroz cquiroz left a comment

Choose a reason for hiding this comment

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

LGTM

@cquiroz cquiroz merged commit 7d6b786 into gemini-hlsw:main Jan 26, 2025
2 checks passed
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.

None yet

2 participants