Skip to content

Commit

Permalink
V1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
paulvangentcom committed Nov 6, 2018
1 parent 785b021 commit 4df20b2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions heartpy/heartpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,15 +612,26 @@ def process(hrdata, sample_rate, windowsize=0.75, report_time=False,
windowsize -- the window size to use, in seconds (calculated as windowsize * sample_rate)
report_time -- whether to report total processing time of algorithm (default True)
calc_freq -- whether to compute time-series measurements (default False)
freq_method -- method used to extract the frequency spectrum. Available: 'fft' (Fourier Analysis),
'periodogram', and 'welch' (Welch's method). (Default = 'welch')
interp_clipping -- whether to detect and interpolate clipping segments of the signal
(default True)
clipping_scale -- whether to scale the data priod to clipping detection. Can correct errors
if signal amplitude has been affected after digitization (for example through
filtering). (Default False)
intep_threshold -- threshold to use to detect clipping segments. Recommended to be a few
datapoints below the sensor or ADC's maximum value (to account for
slight data line noise). Default 1020, 4 below max of 1024 for 10-bit ADC
hampel_correct -- whether to reduce noisy segments using large median filter. Disabled by
default due to computational complexity, and generally it is not necessary
bpmmin -- minimum value to see as likely for BPM when fitting peaks
bpmmax -- maximum value to see as likely for BPM when fitting peaks
reject_segmentwise -- whether to reject segments with more than 30% rejected beats.
By default looks at segments of 10 beats at a time. (default False)
measures -- measures dict in which results are stored. Custom dictionary can be passed,
otherwise one is created and returned.
working_data -- working_data dict in which results are stored. Custom dictionary can be passed,
otherwise one is created and returned.
'''
t1 = time.clock()

Expand Down

0 comments on commit 4df20b2

Please sign in to comment.