Skip to content

clean_fresp_data.m

Basic Information

  SYNTAX:  clean_fresp_data

  PURPOSE:  Perform some manual "cleaning" of measured frequency response data.

  INPUT:
    coil = string defining signal name of coil from which data was generated
    model_type = type of model that generated data : 0=voltage input, 1=current input
  These define input files <coil>_fresp_mdltype<model_type>.mat that are loaded for cleaning.

  OUTPUT:
    Cleaned data is stored in files <coil>_fresp_mdltype<model_type>_cleaned.mat

  RESTRICTIONS: Input file with name convention described above must exist and contain output
            generated by compare_vacuum_fresp.m.

  METHOD:  Bode plots comparing measured freq. response samples overlayed on model shown
    for reference.  Interactive prompts provide user options to clean the data:
        n: normalize first so that measured and modeled DC gain match
        k: keep all data samples
        d: delete all data samples
        m: manually select samples for deletion

Dependencies