BGlib.be.translators.df_utils.be_utils.createSpecVals¶
- BGlib.be.translators.df_utils.be_utils.createSpecVals(udvs_mat, spec_inds, bin_freqs, bin_wfm_type, parm_dict, udvs_labs, udvs_units, verbose=False)[source]¶
This function will determine the proper Spectroscopic Value array for the dataset
Chris Smith – csmith55@utk.edu
- Parameters:
udvs_mat (numpy array) – UDVS table from dataset
spec_inds (numpy array) – Spectroscopic Indices table from dataset
bin_freqs (numpy array) – Bin frequencies
bin_wfm_type (numpy array) – waveform type for each frequency index
parm_dict (dictionary) – parameters for dataset
udvs_labs (list of strings) – labels for the columns of the UDVS matrix
udvs_units (list of strings) – units for the columns of the UDVS matrix
verbose (bool, optional. Default = False) – Whether or not to print debugging print statements
- Returns:
ds_spec_val_mat (numpy array) – Spectroscopic Values table
ds_spec_val_labs (list of strings) – names of the columns of the Spectroscopic Values table
ds_spec_val_units (list of strings) – units of the columns of the Spectroscopic Values table
ds_spec_val_labs_names (list of Strings) – labels with the names of their parameters