Skip to content
Snippets Groups Projects
Commit 8b469a72 authored by Unknown's avatar Unknown
Browse files

build_ind_val_dsets bugfix

Fixed label creation if not provided
Minor formatting changes to be_utils and be_loop
parent 92531943
No related branches found
No related tags found
1 merge request!100Cades dev
......@@ -260,7 +260,7 @@ def loop_fit_function(vdc, coef_vec):
loop_eval : 1D numpy array
Loop values
"""
a = coef_vec[:5]
b = coef_vec[5:]
d = 1000
......
......@@ -763,6 +763,7 @@ def createSpecVals(udvs_mat, spec_inds, bin_freqs, bin_wfm_type, parm_dict,
iSpecVals, inSpecVals = __FindSpecValIndices(udvs_mat, spec_inds)
return __BEPSDC(udvs_mat,inSpecVals, bin_freqs, bin_wfm_type, parm_dict)
elif mode == 'AC modulation mode with time reversal':
"""
First we call the FindSpecVals function to get the columns in UDVS of
......
......@@ -225,7 +225,7 @@ def build_ind_val_dsets(dimensions, is_spectral=True, steps=None, initial_values
print(initial_values)
if labels is None:
labels = ['' for _ in len(dimensions)]
labels = ['' for _ in dimensions]
elif len(labels) != len(dimensions):
raise ValueError('The arrays for labels and dimension sizes must be the same.')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment