Skip to content

Commit

Permalink
add flat and star_field attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérémy Neveu committed Jan 23, 2024
1 parent 20c69d6 commit 89e01c6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spectractor/extractor/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ def __init__(self, file_name, *, target_label="", disperser_label="",
self.pressure = 0
self.humidity = 0

self.flat = None
self.star_field = None

self.imgs = [self.data, self.stat_errors, self.flat, self.star_field]

if parameters.CALLING_CODE != 'LSST_DM' and file_name != "":
self.load_image(file_name)
else:
Expand Down

0 comments on commit 89e01c6

Please sign in to comment.