Skip to content

Commit

Permalink
update todos in test_brightness
Browse files Browse the repository at this point in the history
  • Loading branch information
sblunt committed Jul 24, 2024
1 parent 017c8ce commit 03ea984
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/test_brightness.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@
def test_brightness_calculation():

num_secondary_bodies = 1

# TODO (sarah): change dataset to one where we can see brightness variations
input_file = os.path.join(DATADIR, "GJ504.csv")
# input_file = os.path.join(DATADIR, "new_dataset.csv")
data_table = read_input.read_file(input_file)

times = data_table["epoch"].value

system_mass = 1.47
plx = 24.30

Expand All @@ -37,8 +43,18 @@ def test_brightness_calculation():
]
)

print(test_system.param_idx)

ra, dec, vz, brightness = test_system.compute_all_orbits(params)

# TODO (farrah): make plot of brightness vs time


def test_read_input_with_brightness():

# TODO (farrah): use code above as inspiration to read in a csv file with a brightness column


if __name__ == "__main__":
test_brightness_calculation()
test_read_input_with_brightness()

0 comments on commit 03ea984

Please sign in to comment.