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-47303: Add fgcmcal configurations for LSSTComCam #581

Merged
merged 11 commits into from
Nov 21, 2024
Merged

Conversation

erykoff
Copy link
Contributor

@erykoff erykoff commented Nov 20, 2024

This supports ugriz so far.


config.outfileBase = "fgcmLSSTComCam"
config.bands = ["u", "g", "r", "i", "z"]
config.fitBands = ["u", "g", "r", "i", "z"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Do these need a y?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We don't support y band yet. All the stuff below is a placeholder.

}
config.autoPhotometricCutNSig = 3.0
config.autoHighCutNSig = 3.0
# Fit aperture corrections with only 2 bins to exercise the code.
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this comment relevant still?

"r": fgcmcal.Sedterm(primaryTerm="gr", secondaryTerm="ri", constant=0.9),
"i": fgcmcal.Sedterm(primaryTerm="ri", secondaryTerm="iz", constant=1.1),
"z": fgcmcal.Sedterm(primaryTerm="iz", secondaryTerm="ri", constant=1.0,
extrapolated=True, primaryBand="z", secondaryBand="i", tertiaryBand="r")
Copy link
Contributor

Choose a reason for hiding this comment

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

Are primary and secondary bands the correct way round?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, they are. This is start by using the z band and adjust from there. z is primary to the z.

# extrapolated=True, primaryBand="y",
# secondaryBand="z", tertiaryBand="i")
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Should this still be commented out?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can uncomment when it supports y band. I added a comment.

"y": False,
}
config.sigFgcmMaxEGrayDict = {
"u": 0.15,
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this one supposed to be different to the others?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes! Comment added.

@erykoff erykoff merged commit ab0feb0 into main Nov 21, 2024
3 checks passed
@erykoff erykoff deleted the tickets/DM-47303 branch November 21, 2024 00: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.

2 participants