Commit 78c3a27e authored by vertighel's avatar vertighel
Browse files

Added pierside

parent 5377f013
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ OBS-ELEV = | [m] Observatory altitude above sea level
FOCUSPOS =            | [um] Focuser position
FOCUSTEM =            | [C] Focuser temperature
DEROTANG = 0          | [deg] Rotator angle, if any
PIERSIDE = "UNKNOWN"  | Side of the camera wrt pier, if any 

[Imaging]          
INSTRUME =            | Instrument name
+3 −0
Original line number Diff line number Diff line
@@ -459,6 +459,9 @@ class Noche:
        if not angle:
            angle = self.header["DEROTANG"] + self.header["DETROT"]

        if self.header["PIERSIDE"].upper() == "WEST":
            angle += 180        
            
        angle = np.deg2rad(angle)

        crval_ra = self._coord.ra.deg
+5 −4
Original line number Diff line number Diff line
@@ -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 = RA_OBJ                           # In sexagesimal or decimal format
DEC = DEC_OBJ                         # In sexagesimal or decimal format
RA = OBJCTRA                      # In sexagesimal or decimal format
DEC = OBJCTDEC                    # 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
@@ -35,8 +35,9 @@ XBINNING = XBINNING # Binning factor in X
YBINNING = YBINNING               # Binning factor in Y
# TEMPERAT =                        # [C] Ambient temperature
SWCREATE = SWCREATE               # Software that created FILEORIG
PIERSIDE = PIERSIDE               # Side of the camera wrt pier, if any 

[Formula]
#RA = (x)/15


[Tweak]