mobilipy.preparation
Functions
|
Cleans a raw GPS points dataframe by filtering in the zurich area, rearranging features and applying gaussian smoothing. |
- mobilipy.preparation.prepare(df, accuracy_th=1000, sigma=10) pandas.core.frame.DataFrame
Cleans a raw GPS points dataframe by filtering in the zurich area, rearranging features and applying gaussian smoothing.
- Parameters
df (pandas.DataFrame) – DataFrame to be prepared for route processing
accuracy_th (int, optional) – Accuracy threshold for filtering. Defaults to 1000.
sigma (int, optional) – Sigma for Gaussian smoothing, defines the size of smoothing window. Defaults to 10.
- Returns
pd.DataFrame – [description]