BGlib.be.translators.df_utils.be_utils.trimUDVS

BGlib.be.translators.df_utils.be_utils.trimUDVS(udvs_mat, udvs_labs, udvs_units, target_col_names)[source]

Removes unused (typically default) plot groups

Parameters:
  • udvs_mat (2D numpy array) – UDVS table arranged as [steps, col]

  • udvs_labs (list of strings) – Column names of the UDVS table

  • udvs_units (list of strings) – Units for the columns of the UDVS table

  • target_col_names (list of strings) – Column names that need to be removed

Returns:

  • udvs_mat (2D numpy array) – Truncated UDVS table

  • udvs_labs (list of strings) – Truncated list of UDVS column names

  • udvs_units (list of strings) – Truncated list of UDVS column units