Commit 15f22172 authored by ssomnath's avatar ssomnath
Browse files

Plotting spec_inds

parent df5fe773
...@@ -834,6 +834,11 @@ def createSpecVals(udvs_mat, spec_inds, bin_freqs, bin_wfm_type, parm_dict, ...@@ -834,6 +834,11 @@ def createSpecVals(udvs_mat, spec_inds, bin_freqs, bin_wfm_type, parm_dict,
for ud_row in udvs_mat: for ud_row in udvs_mat:
print('\t\t'.join(['{:04.2f}'.format(item) for item in ud_row])) print('\t\t'.join(['{:04.2f}'.format(item) for item in ud_row]))
fig, axes = plt.subplots(nrows=2, figsize=(10, 5))
for ind, axis in enumerate(axes.flat):
axis.plot(spec_inds[ind, :])
axis.set_title('spec_inds[{}]'.format(ind))
# Copy even step values of DC_offset into odd steps # Copy even step values of DC_offset into odd steps
UDVS = np.copy(udvs_mat) UDVS = np.copy(udvs_mat)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment