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

DM-45378: Add script that can be run to average lsstcam ITL crosstalks. #545

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

erykoff
Copy link
Contributor

@erykoff erykoff commented Jul 23, 2024

No description provided.

comcam_crosstalk.coeffValid = np.ones((n_amp, n_amp), dtype=np.bool_)
comcam_crosstalk.hasCrosstalk = True

out_path = os.path.join(data_root, "comCam", "crosstalk", name.lower())
Copy link
Member

Choose a reason for hiding this comment

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

In theory if you have the instrument class you can do

Suggested change
out_path = os.path.join(data_root, "comCam", "crosstalk", name.lower())
out_path = os.path.join(instr.getObsDataPackageDir(), instr.policyName, "crosstalk", name.lower())

and guarantee consistency with what the instrument class is going to do in write-curated-calibs (which is the wrong name and should have been ingest-curated-calibs). There is a private method in lsst.obs.base.Instrument that could be public

@erykoff erykoff merged commit 9f6c3c8 into main Aug 5, 2024
3 checks passed
@erykoff erykoff deleted the tickets/DM-45378 branch August 5, 2024 20:08
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.

3 participants