You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(This was added to enable gain flagging in apply mode, IIRC.)
Unfortunately, the phase-only (and slope?) solver wants to have a model in precompute_attributes, so that it can precompute the constant parts of the Hessian. This causes it to crash in apply-only mode. SOP has been to use complex-2x2 in apply-only mode (since the gain tables are compatible), so we never noticed the problem.
The solution is to fix the phase-only solver to skip the Hessian precomputation if a model is not supplied.
The text was updated successfully, but these errors were encountered:
In apply-only mode,
precompute_attributes
is called here: https://github.com/ratt-ru/CubiCal/blob/master/cubical/solver.py#L615(This was added to enable gain flagging in apply mode, IIRC.)
Unfortunately, the phase-only (and slope?) solver wants to have a model in precompute_attributes, so that it can precompute the constant parts of the Hessian. This causes it to crash in apply-only mode. SOP has been to use complex-2x2 in apply-only mode (since the gain tables are compatible), so we never noticed the problem.
The solution is to fix the phase-only solver to skip the Hessian precomputation if a model is not supplied.
The text was updated successfully, but these errors were encountered: