Skip to content

Commit

Permalink
Added brightness as a model prediction
Browse files Browse the repository at this point in the history
  • Loading branch information
Farrmol committed Aug 5, 2024
1 parent 37bbb19 commit 9dcd884
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions orbitize/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,10 @@ def compute_model(self, params_arr, use_rebound=False):
model[self.rv[body_num], 1] = np.nan

# TODO (farrah): add brightness to model here (use RV block above as template)
# Brightness
if len(self.brightness[body_num]) > 0:
model[self.brightness[body_num], 0] = brightness[self.brightness[body_num], body_num, :]
model[self.brightness[body_num], 1] = np.nan
# (assume self.brightness is array of indices of epochs with brightness measurements)


Expand Down

0 comments on commit 9dcd884

Please sign in to comment.