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

Add ability to develop new features quickly via an external file #5

Merged
merged 3 commits into from
May 24, 2022

Conversation

slwatkins
Copy link
Member

This PR allows the user to pass a path to an alternative version of detprocess/process/_features.py for fast development of new or one-off features. The change is that the external_file keyword argument was added to detprocess.process_data, to which a path to a file which contains the Python code for features to extract. With this update, the code loads the SingleChannelExtractors class from that file instead of the default version, and uses the functions therein for feature extraction. This allows the user to create new features on the fly without needing to rebuild the package each time.

The documentation has also been updated to discuss how to use this optional keyword argument in detprocess.process_data when an external file is desired.

@slwatkins slwatkins added the enhancement New feature or request label May 24, 2022
@slwatkins slwatkins self-assigned this May 24, 2022
@slwatkins slwatkins merged commit cb2abe4 into main May 24, 2022
@slwatkins slwatkins deleted the feature/customprocessing branch May 24, 2022 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant