matteolucchini1 / nDspec

A modular X-ray spectral-timing astronomy modelling package
MIT License
2 stars 0 forks source link

Frequency dependent cross spectra are silly #6

Closed matteolucchini1 closed 2 months ago

matteolucchini1 commented 3 months ago

Currently we expect users to only define a oned cross from the start, and retrieve whatever quantity they want with the phase/real/imag/mod methods. This is fine but we also would want to be able to get frequency dependent methods from a two-d cross. This also happens currently but it always goes through _oned_cross. Instead we should only go through that method if we are defining a new reference band; otherwise, going through the existing cross product makes more sense and is faster.

matteolucchini1 commented 2 months ago

Fixed in the last dev_timing commit