Commit 8cb720c7 authored by Jameson Graef Rollins's avatar Jameson Graef Rollins

quantum: move log messages to debug level

parent 8ef75e17
Pipeline #20408 passed with stages
in 39 seconds
......@@ -38,10 +38,10 @@ def shotrad(f, ifo):
Nfreq = len(f)
if any(np.array([Mifo.shape[0], Mifo.shape[1], Mn.shape[0]]) != Nfield) or \
any(np.array([Mifo.shape[2], Msig.shape[2], Mn.shape[2]]) != Nfreq):
logging.info(Mifo.shape)
logging.info(Msig.shape)
logging.info(Mn.shape)
logging.info(Nfield, Nfreq)
logging.debug(Mifo.shape)
logging.debug(Msig.shape)
logging.debug(Mn.shape)
logging.debug(Nfield, Nfreq)
raise Exception('Inconsistent matrix sizes returned by %s' % str(fname))
# deal with non-standard number of fields
......@@ -96,13 +96,13 @@ def shotrad(f, ifo):
pass
elif sqzType == 'Freq Independent':
logging.info('You are injecting %g dB of frequency independent squeezing' % SQZ_DB)
logging.debug('You are injecting %g dB of frequency independent squeezing' % SQZ_DB)
elif sqzType == 'Optimal':
# compute optimal squeezing angle
alpha = sqzOptimalSqueezeAngle(Mifo, eta)
logging.info('You are injecting %g dB of squeezing with optimal frequency dependent squeezing angle' % SQZ_DB)
logging.debug('You are injecting %g dB of squeezing with optimal frequency dependent squeezing angle' % SQZ_DB)
elif sqzType == 'OptimalOptimal':
# compute optimal squeezing angle, assuming optimal readout phase
......@@ -111,10 +111,10 @@ def shotrad(f, ifo):
MsigPD = Msig * sqrt(1 - lambda_PD)
alpha = sqzOptimalSqueezeAngle(Mifo, [], [R, lambda_in], MsigPD, MnPD)
logging.info('You are injecting %g dB of squeezing with optimal FD squeezing angle, for optimal readout phase' % SQZ_DB)
logging.debug('You are injecting %g dB of squeezing with optimal FD squeezing angle, for optimal readout phase' % SQZ_DB)
elif sqzType == 'Freq Dependent':
logging.info('You are injecting %g dB of squeezing with frequency dependent squeezing angle' % SQZ_DB)
logging.debug('You are injecting %g dB of squeezing with frequency dependent squeezing angle' % SQZ_DB)
else:
raise Exception('ifo.Squeezer.Type must be None, Freq Independent, Optimal, or Frequency Dependent, not "%s"' % sqzType)
......@@ -143,7 +143,7 @@ def shotrad(f, ifo):
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Inject squeezed field into the IFO via some filter cavities
if sqzType == 'Freq Dependent' and 'FilterCavity' in ifo.Squeezer:
logging.info(' Applying %d input filter cavities' % np.atleast_1d(ifo.Squeezer.FilterCavity).size)
logging.debug(' Applying %d input filter cavities' % np.atleast_1d(ifo.Squeezer.FilterCavity).size)
Mr, Msqz = sqzFilterCavityChain(f, np.atleast_1d(ifo.Squeezer.FilterCavity), Msqz)
#####################################################
......@@ -165,14 +165,14 @@ def shotrad(f, ifo):
pass
elif ifo.OutputFilter.Type == 'Chain':
logging.info(' Applying %d output filter cavities' % np.atleast_1d(ifo.OutputFilter.FilterCavity).size)
logging.debug(' Applying %d output filter cavities' % np.atleast_1d(ifo.OutputFilter.FilterCavity).size)
Mr, Mnoise = sqzFilterCavityChain(f, np.atleast_1d(ifo.OutputFilter.FilterCavity), Mnoise)
Msig = getProdTF(Mr, Msig)
# Mnoise = getProdTF(Mn, Mnoise);
elif ifo.OutputFilter.Type == 'Optimal':
logging.info(' Optimal output filtering!')
logging.debug(' Optimal output filtering!')
# compute optimal angle, including upcoming PD losses
MnPD = sqzInjectionLoss(Mnoise, lambda_PD)
......
Markdown is supported
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