-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I found some code recommendations/issues while using the first version of tess-asteroids. Some of these are not urgent and can be done later, I add them here to keep track.
self.shapeI was expecting to get the cube shape when calling this. I would also recommend setting shape as an object propertytess-asteroids/src/tess_asteroids/tpf.py
Line 122 in 770f46a
self.shape = shape - consider
target_idor something more explicit than justtargettess-asteroids/src/tess_asteroids/tpf.py
Line 36 in 770f46a
self.target = target - you could avoid computing the same median twice by assigning to a temporal variable.
tess-asteroids/src/tess_asteroids/tpf.py
Line 349 in 770f46a
bg.append(np.nanmedian(flux_window, axis=0).reshape(self.shape)) - Add/edit relevant keywords in the header, e.g. asteroid target name, CREATOR, PROCVER, TSTART, and TSTOP, etc...
I'll keep reviewing and using the code and add things as they come out in
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request