Removes fit_altitude method in favor of filter_altitude
Reworks filter_altitude to only apply median filter during cruise
Creates clean_and_resample class method
Creates filter_altitude class method
Internals
The clean_and_resample method uses the following logic:
For flights with a median sample rate >10 seconds, no smoothing is applied
For flights with gaps larger than 5 minutes, the flight is first resampled to a one second interval, then smoothed, then resampled to the requested rate
Closes #51
Changes
Internals
The
clean_and_resample
method uses the following logic:Tests
make test
)