Loading ObservationSim/Instrument/Chip/Chip.py +2 −2 Original line number Diff line number Diff line Loading @@ -312,7 +312,7 @@ class Chip(FocalPlane): BoolDeadPix = False # Add sky background if sky_map == None: if sky_map is None: sky_map = filt.getSkyNoise(exptime=self.exptime) elif img.array.shape != sky_map.shape: raise ValueError("The shape img and sky_map must be equal.") Loading ObservationSim/ObservationSim.py +2 −2 Original line number Diff line number Diff line Loading @@ -218,7 +218,7 @@ class Observation(object): pointing_ID=pointing_ID, timestamp_obs=timestamp_obs, pointing_type=pointing_type, sky_map=sky_map) sky_map=sky_map, tel = self.tel) if pointing_type == 'MS': datetime_obs = datetime.fromtimestamp(timestamp_obs) Loading Loading
ObservationSim/Instrument/Chip/Chip.py +2 −2 Original line number Diff line number Diff line Loading @@ -312,7 +312,7 @@ class Chip(FocalPlane): BoolDeadPix = False # Add sky background if sky_map == None: if sky_map is None: sky_map = filt.getSkyNoise(exptime=self.exptime) elif img.array.shape != sky_map.shape: raise ValueError("The shape img and sky_map must be equal.") Loading
ObservationSim/ObservationSim.py +2 −2 Original line number Diff line number Diff line Loading @@ -218,7 +218,7 @@ class Observation(object): pointing_ID=pointing_ID, timestamp_obs=timestamp_obs, pointing_type=pointing_type, sky_map=sky_map) sky_map=sky_map, tel = self.tel) if pointing_type == 'MS': datetime_obs = datetime.fromtimestamp(timestamp_obs) Loading