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

Create FrequencyDomain results class #28

Open
rhenanbartels opened this issue Oct 7, 2022 · 1 comment
Open

Create FrequencyDomain results class #28

rhenanbartels opened this issue Oct 7, 2022 · 1 comment

Comments

@rhenanbartels
Copy link
Owner

rhenanbartels commented Oct 7, 2022

Currently, the results of the frequency_domain function are stored in a Python built-in dictionary.

It would be a nice improvement if the results were stored in a custom dict-like class with additional useful methods, such as plot.

For instance, a plot method could depict the power spectral density (PSD) chart like the following:

freq_domain_results = frequency_domain(rri, ...)

freq_domain_results["lf"]
# 134.56
freq_domain_results.plot()

image

There is something similar already created for time varying analyses:

class TimeVarying:

@rhenanbartels rhenanbartels changed the title Create FrequencyDomainResults class Create FrequencyDomain results class Oct 7, 2022
@PremchandGat
Copy link

#29 Look at this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants