if log_dir != None :
log = data_logger.data_log(log_dir, noclobber_logsubdir=False,
log_name="calib_analysis_text")
- log.write_binary((
- "k (N/m) : %g +/- %g\n" % (k, k_s)
- + "photoSensitivity**2 (V/nm)**2 : %g +/- %g\n" % \
- (photoSensitivity2_m, photoSensitivity2_s)
- + "T (K) : %g +/- %g\n" % (T_m, T_s)
- + "1/Vp**2 (1/V)**2 : %g +/- %g\n" % \
- (one_o_Vphoto2_m, one_o_Vphoto2_s)
- ))
+ log.write_binary(string_errors(k, k_s,
+ photoSensitivity2_m, photoSensitivity2_s,
+ T_m, T_s,
+ one_o_Vphoto2_m, one_o_Vphoto_2_s))
@splittableKwargsFunction()
def calib_plot(bumps, Ts, vibs, plotVerbose=False) :