-
Notifications
You must be signed in to change notification settings - Fork 0
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
Refactoring in support of externally defined feature extractor libraries - i.e. LAISS #73
Refactoring in support of externally defined feature extractor libraries - i.e. LAISS #73
Conversation
…ghtcurve_utils`. Dynamically generate the column names as needed using methods defined in the `LightCurve` feature extractor subclasses.
Click here to view all benchmarks. |
… and self.metadata_names.
@@ -234,6 +239,10 @@ def load_features_from_file(self, path_to_features_file: str, screen=False, | |||
"Bump", or "Malanchev". Default is "Bazin". | |||
""" | |||
|
|||
if survey not in ['DES', 'LSST']: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AmandaWasserman Is this logic correct, or should we support any survey
that we find in the FILTER_SETS
dictionary? i.e. DES
, LSST
, and SNPCC
- Image installs resspect from source - Image builds on latest ubuntu avoiding conflicts with ubuntu's version of pip - Image sets up a data directory and a venv for resspect - Image does not yet work with the docker-compose file or the TOM docker-compose ecosystem.
And document how to connect to tom docker-compose ecosystem
Everything looks good doing a PR and run through of our typical operations for feature extraction, learn loop, and plotting |
This fairly substantial refactor removes hardcoded column names from
lightcurve_utils
and shifts the work over to the subclasses ofLightCurve
. The built in feature extractors (FEs) all use the same patterns, so we were able to keep the logic in the parent class.This reduces the code in RESSPECT, and leaves the door open for external libraries that bring in a FE to implement their own method of providing feature column names.