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

Redefine default filters for make_lcs scripts #327

Merged

Conversation

bfhealy
Copy link
Collaborator

@bfhealy bfhealy commented Feb 27, 2024

This PR adds a DEFAULT_FILTERS variable to nmma.em.utils that can be imported by other scripts. The make_lcs scripts are updated to use the list contained in this variable to set the default filters. Custom filters can still be specified by providing input to this argument.

The default list of filters is:
DEFAULT_FILTERS = [ "bessellux", "bessellb", "bessellv", "bessellr", "besselli", "sdssu", "ps1::g", "ps1::r", "ps1::i", "ps1::z", "ps1::y", "uvot::b", "uvot::u", "uvot::uvm2", "uvot::uvw1", "uvot::uvw2", "uvot::v", "uvot::white", "atlasc", "atlaso", "2massj", "2massh", "2massks", "ztfg", "ztfr", "ztfi", "ultrasat", ]

Resolves #326

Copy link
Member

@mcoughlin mcoughlin left a comment

Choose a reason for hiding this comment

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

Perfect. LGTM

@bfhealy bfhealy merged commit f7b0f12 into nuclear-multimessenger-astronomy:main Feb 27, 2024
4 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.

Filter naming consistency in make_lcs.py
2 participants