Home
last modified time | relevance | path

Searched refs:compare_wcs (Results 1 – 6 of 6) sorted by relevance

/dports/astro/py-astropy/astropy-5.0/astropy/nddata/mixins/
H A Dndarithmetic.py167 compare_wcs='first_found', **kwds): argument
232 if compare_wcs is None:
234 elif compare_wcs in ['ff', 'first_found']:
241 compare_wcs, **kwds2['wcs'])
440 def _arithmetic_wcs(self, operation, operand, compare_wcs, **kwds): argument
482 if not compare_wcs(self.wcs, operand.wcs, **kwds):
/dports/astro/py-astropy/astropy-5.0/astropy/nddata/tests/
H A Dtest_ccddata.py417 assert ccd.add(ccd, compare_wcs=None).wcs is None
418 assert ccd.subtract(ccd, compare_wcs=None).wcs is None
420 assert ccd.divide(ccd, compare_wcs=None).wcs is None
431 ccd1.add(ccd2, compare_wcs=return_true).wcs,
434 ccd1.subtract(ccd2, compare_wcs=return_true).wcs,
437 ccd1.multiply(ccd2, compare_wcs=return_true).wcs,
440 ccd1.divide(ccd2, compare_wcs=return_true).wcs,
451 ccd1.add(ccd2, compare_wcs=return_false)
453 ccd1.subtract(ccd2, compare_wcs=return_false)
455 ccd1.multiply(ccd2, compare_wcs=return_false)
[all …]
/dports/astro/py-astropy/astropy-5.0/docs/nddata/mixins/
H A Dndarithmetic.rst253 The ``compare_wcs`` argument will determine what the result's ``wcs`` will be
261 >>> ndd1.add(ndd2, compare_wcs=None).wcs is None
271 >>> str(ndd1.add(ndd2, compare_wcs='ff').wcs) == str(wcs)
292 >>> ndd1.subtract(ndd2, compare_wcs=compare_wcs_scalar).wcs
301 >>> ndd1.subtract(ndd2, compare_wcs=compare_wcs_scalar, wcs_allowed_deviation=2).wcs.wcs.crpix
/dports/astro/py-astropy/astropy-5.0/astropy/nddata/mixins/tests/
H A Dtest_ndarithmetic.py1043 handle_mask=None, compare_wcs=None)
1052 compare_wcs=use_abbreviation)
1061 compare_wcs=use_abbreviation)
1122 nd3 = nd1.add(nd2, compare_wcs=wcs_comp_func)
1127 nd1.add(nd2, compare_wcs=wcs_comp_func, wcs_tolerance=0.00001)
1132 nd1.add(nd2, compare_wcs=wcs_comp_func, tolerance=1)
/dports/astro/py-astropy/astropy-5.0/docs/nddata/
H A Dsubclassing.rst237 - ``wcs``: ``compare_wcs`` argument with the same restrictions as mask.
/dports/astro/py-astropy/astropy-5.0/
H A DCHANGES.rst8314 thus raises no ValueError if they differ, except if a ``compare_wcs``