diff --git a/noche/noche.py b/noche/noche.py index 4060ae4895f0f9636a7dadb153391b5dc0ae07db..120844c0786ac387fcb1bef02fd75cf0bfa47632 100644 --- a/noche/noche.py +++ b/noche/noche.py @@ -218,6 +218,7 @@ class Noche: log.warning(f"{k:<8} (Pre): from {x} to {self.header[k]}") except Exception as e: log.error(f"Failed to evaluate PreFormula for {k}: {e}") + # # Apply Mapping # loc = config["Mapping"] # for k in loc.keys(): diff --git a/noche/observatories/opc.ini b/noche/observatories/opc.ini index 28bd114671b27bea09a5f421bb16109215092d40..c62c6a307babdf1242d41fd1081b29fe0eeb41f7 100644 --- a/noche/observatories/opc.ini +++ b/noche/observatories/opc.ini @@ -9,7 +9,7 @@ INSTRUME = OPC Instrument # Instrument name OBSTYPE = Imaging # Observation type DETECTOR = Moravian G4 - KAF09000 # Detector identifier DETSIZE = [1:4144,1:4126] # [px] [1:x,1:y] Physical CCD dimensions -DETROT = +0.0 # [deg] Rotation offset of the detector +DETROT = 90.0 # [deg] Rotation offset of the detector XPIXSZ = 12 # [um] Pixel X axis size YPIXSZ = 12 # [um] Pixel Y axis size PIXSCALE = 0.38 # [arcsec/px] Plate scale in binning 1 @@ -21,8 +21,8 @@ NAXIS1 = NAXIS1 # [px] X Dimensions of detector NAXIS2 = NAXIS2 # [px] Y dimension of detector # OBSERVER = # Observer name OBJECT = OBJECT # Name of observed object -RA = OBJCTRA # In sexagesimal or decimal format -DEC = OBJCTDEC # In sexagesimal or decimal format +RA = RAOBJ2k # In sexagesimal or decimal format +DEC = DECOBJ2K # In sexagesimal or decimal format DATE-OBS = DATE-OBS # [YYYY-MM-DDTHH:MM:SS] UTC observation date FOCUSTEM = FOCUSTEM # [C] Focuser temperature FOCUSPOS = FOCUSPOS # [um] Focuser position @@ -38,6 +38,9 @@ SWCREATE = SWCREATE # Software that created FILEORIG PIERSIDE = PIERSIDE # Side of the camera wrt pier, if any [Formula] - +#RA = (x)/15 [Tweak] +CDELT1 = -1*x +CRPIX1 = x-550 +CRPIX2 = x-500 \ No newline at end of file