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

Module for various helper functions #6

Closed
Trybnetic opened this issue Apr 22, 2021 · 0 comments
Closed

Module for various helper functions #6

Trybnetic opened this issue Apr 22, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Trybnetic
Copy link
Owner

As pointed out in #5, there are some functions like _create_time_vector in the io module or

def calculate_cutpoints(vec):
    cutpoints = np.where(vec[:-1] - vec[1:] != 0)[0] + 1
    return cutpoints.reshape(cutpoints.shape[0]//2,2)

that are needed for different functions in paat.io or paat.wear_time, but are also useful for other purposes. We might want to organize these functions in a new module at some point. This issue is opened to keep that in mind

@Trybnetic Trybnetic added the enhancement New feature or request label Apr 22, 2021
Trybnetic pushed a commit that referenced this issue Mar 21, 2022
Trybnetic pushed a commit that referenced this issue Mar 21, 2022
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

No branches or pull requests

1 participant