Open wschoenell opened 9 years ago
We currently calculate when exposing, on the camera saveImage process: https://github.com/astroufsc/chimera/blob/e15ce55eb7a20f635a4baa40fdc15ecf54a68185/src/chimera/instruments/camera.py#L172-L177
For this few parameters it is ok this approach, but since we are getting more complex I suggest to move this wcs stuff to the Image object using the astropy wcs package:
Image
http://astropy.readthedocs.org/en/latest/wcs/#building-a-wcs-structure-programmatically
We currently calculate when exposing, on the camera saveImage process: https://github.com/astroufsc/chimera/blob/e15ce55eb7a20f635a4baa40fdc15ecf54a68185/src/chimera/instruments/camera.py#L172-L177
For this few parameters it is ok this approach, but since we are getting more complex I suggest to move this wcs stuff to the
Image
object using the astropy wcs package:http://astropy.readthedocs.org/en/latest/wcs/#building-a-wcs-structure-programmatically