I tried fixing code on Psi4 loading, and I failed. There are some things I don't understand, amongst other things like:
- Unordered time axis in Psi4 loading code) before interpolation. Throws interpolation error.
- Every mode now being a pycbc time series (Is this a new sxs thing?). This has some disadvantages.
a). pycbc time series is sometimes shorter by one element compared to original data, probably associated with rounding off in delta_t. Here in comparison to WaveformModes.n_time and WaveformModes.time
b). It is unnecessary and expensive to carry a time axis, delta_t and all attributes for every mode when they are identical across them.
- The number of columns in Psi4 RIT data is 6 not 3 as assumed
- Interpolation is more accurate in Amp and phase and they are provided in RIT data.
- When I originally authored the code in https://gitlab.com/vaishakp/waveformtools/-/blob/main/waveformtools/dataIO.py?ref_type=heads#L428
I found that there are issues sometimes when delta_t is not rounded off, after using scipy.stat.mode to discern it, before constructing a new time axis for uniform sampling
I tried fixing code on Psi4 loading, and I failed. There are some things I don't understand, amongst other things like:
a). pycbc time series is sometimes shorter by one element compared to original data, probably associated with rounding off in delta_t. Here in comparison to WaveformModes.n_time and WaveformModes.time
b). It is unnecessary and expensive to carry a time axis, delta_t and all attributes for every mode when they are identical across them.
I found that there are issues sometimes when
delta_tis not rounded off, after usingscipy.stat.modeto discern it, before constructing a new time axis for uniform sampling