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

Clean up and minor API changes #25

Merged
merged 7 commits into from
Sep 6, 2024
Merged

Clean up and minor API changes #25

merged 7 commits into from
Sep 6, 2024

Conversation

Trybnetic
Copy link
Owner

@Trybnetic Trybnetic commented Sep 6, 2024

This PR introduces some minor changes to the API, does some general clean up and corrects some things in the documentation

The changes especially address:

  • Remove the old sleep models from the 2022 manuscript as they are not properly working
  • Remove the pytorch dependency as it is not longer needed
  • Fixes the labeling of the detect_time_in_bed_weitz2024 function (thanks to @claaslendt for pointing that out!)
  • Adds a read_metadata function to only read the metadata of a gt3x file
  • Adds an autocalibration module with a calibrate function. However, a reimplentation of the autocalibration function from GGIR is still missing
  • Fixes the examples in the documentation
  • Adds calculate_enmo as a convenience function

@Trybnetic Trybnetic merged commit 44b5d54 into main Sep 6, 2024
4 checks passed
@Trybnetic Trybnetic deleted the api branch September 6, 2024 07:23
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.

1 participant