velocity_to_strain_rate
velocity_to_strain_rate(
patch: Patch ,
gauge_multiple: int = 1,
order: int = 2,
)-> ‘PatchType’
Convert velocity das data to strain rate.
This is primarily used with Terra15 data and simply uses patch.differentiate under the hood.
Parameters
Parameter | Description |
---|---|
patch | A patch object containing das data. Note: attrs[‘data_type’] should be velocity. |
gauge_multiple | The multiples of spatial sampling to make the simulated gauge length. |
order | The order for the finite difference 1st derivative stencil (accuracy). |