Skip to content

Commit

Permalink
Exposure time can also be exposure map as a regular pixealated grid
Browse files Browse the repository at this point in the history
  • Loading branch information
aymgal committed Nov 13, 2023
1 parent 9b5bd63 commit b85dd24
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions coolest/template/classes/observation.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
__author__ = 'aymgal'

from astropy.io import fits
import numpy as np
from typing import Tuple
from typing import Union

from coolest.template.classes.grid import PixelatedRegularGrid
from coolest.template.classes.noise import Noise
Expand Down Expand Up @@ -31,7 +29,7 @@ class Observation(APIBaseObject):

def __init__(self,
pixels: PixelatedRegularGrid = None, # can be None for mock generation
exposure_time: float = None,
exposure_time: Union[float, PixelatedRegularGrid] = None,
noise: Noise = None,
mag_zero_point: float = None,
mag_sky_brightness: float = None,
Expand Down

0 comments on commit b85dd24

Please sign in to comment.