patches_to_df

function of dascore.core.spool source

patches_to_df(
    patches: Sequence[Patch] | BaseSpool | DataFrame ,
)-> DataFrame

Return a dataframe

Parameters

Parameter Description
patches A sequence of :class:dascore.Patch

Returns

A dataframe with the following fields: data_type data_category data_units time_min time_max d_time time_units distance_min distance_max d_distance distance_units instrument_id cable_id dims tag station network history plus a field called ‘patch’ which contains a reference to each patch.