Skip to content

dttxml DiagAccess accidentally gets complex conjugates

The error is in access.py, line 144.

The line reads:

self.xfer = self.csd_obj.csd / self.asd_den_obj.asd**2

It should be

self.xfer = np.conjugate(self.csd_obj.csd / self.asd_den_obj.asd**2)

Due to the error, DiagAccess objects accidentally get the complex conjugate of requested transfer functions. The error only occurs if the low-level bunch output from dtt_read('example.xml') does not have a '.results.TF' element. Hence why it might have gone unnoticed before.

The error likely comes from a typo on equation (8) of the DTT documentation https://dcc.ligo.org/T990013 . Which I also would like to get fixed, if possible.

typo_dttxml_for_TFs.pdf