Skip to content

Bug in Psi4 Loading #66

@vaishakp

Description

@vaishakp

I tried fixing code on Psi4 loading, and I failed. There are some things I don't understand, amongst other things like:

  1. Unordered time axis in Psi4 loading code) before interpolation. Throws interpolation error.
  2. 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.
  3. The number of columns in Psi4 RIT data is 6 not 3 as assumed
  4. Interpolation is more accurate in Amp and phase and they are provided in RIT data.
  5. 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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions