As discussed, this PR implements the estimate_phase method in the data class. It estimates the phases from the closure phases by inverting the phase-to-CP matrix (i.e. cpmat) and projecting the closure phases on this conversion matrix.
The phases are returned as array together with the u-v coordinates and a plot is created of the phases. The latter can optionally include an arrow in the direction of an actual companion, for example the best-fit parameters determined with chi2map, and the associated model phases in the background.
Hi @kammerje,
As discussed, this PR implements the
estimate_phase
method in thedata
class. It estimates the phases from the closure phases by inverting the phase-to-CP matrix (i.e.cpmat
) and projecting the closure phases on this conversion matrix.The phases are returned as array together with the u-v coordinates and a plot is created of the phases. The latter can optionally include an arrow in the direction of an actual companion, for example the best-fit parameters determined with
chi2map
, and the associated model phases in the background.Let me know in case you have any feedback!