Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
"WCS/TPCorr parameters 'v2ref', 'v3ref', and/or 'roll' "
"differ from the corresponding reference values."
)
self._partial_tpcorr = JWSTgWCS._v2v3_to_tpcorr_from_full(
self._tpcorr
)
else:
self._v23name = 'v2v3'
self._tpcorr = None
self._default_tpcorr = JWSTgWCS._tpcorr_init(
v2_ref=v2_ref / 3600.0,
v3_ref=v3_ref / 3600.0,
roll_ref=roll_ref
)
self._partial_tpcorr = JWSTgWCS._v2v3_to_tpcorr_from_full(
self._default_tpcorr
)
self._update_transformations()