Closed cmsaunders closed 2 months ago
Yes, that's always a good idea. I added a test that builds a camera with a custom detector transform and checks that it is not the same as the one that gets added by default, which uses the detector orientation and pixel size.
The existing afw code assumes a simple model for the pixels->focal plane mapping and automatically sets that for each detector. This change adds a check to see whether these mappings have already been defined, and if so, skips applying the default simple model.