jorge243

Results 2 issues of jorge243

It seems to run twice! The first with correct values but the second (unnecessary) time with incorrect input values (like self._stress_mean = None)

this should be faster and i think improves readability: def get_significant_duration(acceleration, time_step, start_level=0., end_level=1.0): """ Returns the significant duration of the record """ assert end_level >= start_level husid, time_vector =...