Modifications to Measurements.py Module methods
stack_measurements
- request that the output change from a list of lists of arrays [ [freq, tf]_0thMeas, [freq,tf]_1th_meas, ... [freq, tf]_nthMeas] to two separate lists, of
-
frequencies
= [freq_0th, freq_1th, ... freq_nth] and -
meascompensatedbyTDCFs_tf
= [tf_0th, tf_1th, ... tf_nMeas] -
meascompensatedbyTDCFs_unc
= [relunc_0th, relunc_1th, ... relunc_nMeas]
-
- request to also output a list of the TDCFs that were used to correct those TFs,
-
tdcfs
= [MAP_MCMC / MAP_ref_0thMeas, MAP_MCMC / MAP_ref_0thMeas, ... MAP_MCMC / MAP_ref_nthMeas]
-
run_gpr
- Need ability to modify the frequency range over which to fit GPR that is markedly different than the original MCMC fit frequency range. Prefer another optional input parameter in the method, like the length scale, length scale range, etc.
- The plots I'd like to make from the output of
run_gpr
are going to be quite similar to the output ofstack_measurements
, and indeed the first 5 inputs of these methods appear to be the same. Can we save some code space and add all the outputs (including whatever modifications to those outputs that are described above) fromstack_measurements
Edited by Jeffrey Kissel