Piff icon indicating copy to clipboard operation
Piff copied to clipboard

Add equality testing

Open jmeyers314 opened this issue 4 years ago • 1 comments

Can we add __eq__ methods to Piff objects? I wanted to write a test over in Rubin-land that roundtrip serialization to FITS (using the Rubin framework) works, but was stymied by the inability to check if the original and retrieved SimplePSF objects were actually the same. For now I can just check if some sample PSF images come out the same, but it'd be nice to just assert original_psf == roundtrip_psf.

jmeyers314 avatar Jan 06 '21 23:01 jmeyers314

Sure. Fine by me.

rmjarvis avatar Jan 07 '21 02:01 rmjarvis