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

color and slope metrics #406

Merged
merged 1 commit into from
Apr 12, 2024
Merged

color and slope metrics #406

merged 1 commit into from
Apr 12, 2024

Conversation

yoachim
Copy link
Member

@yoachim yoachim commented Apr 11, 2024

A pair of metrics that can be used as proxies for how well we will recover/classify transients like KNe.

slope_length=3.0,
time_col="observationStartMJD",
units="#",
metric_name="ColorSlope",
Copy link
Member

Choose a reason for hiding this comment

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

I'm curious because I see this pattern a lot -- but why specify the metric_name here when it's the same as what will be constructed by default?

Copy link
Member Author

Choose a reason for hiding this comment

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

I bet I was probably planning on having one metric with a kwarg rather then two, so I'd be setting the metric_name to run it different ways.

@yoachim yoachim merged commit 23c2c30 into main Apr 12, 2024
6 of 9 checks passed
@rhiannonlynne rhiannonlynne deleted the tickets/OPSIM-1146 branch April 15, 2024 08:48
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