Skip to content

Commit

Permalink
Docstrings, removing dummy science.
Browse files Browse the repository at this point in the history
  • Loading branch information
astronomerritt committed Mar 28, 2024
1 parent e3967d5 commit 551ce56
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 20 deletions.
2 changes: 0 additions & 2 deletions src/adler/adler.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
def runAdler(args):
planetoid = AdlerPlanetoid.construct_from_RSP(args.ssoid, args.filter_list, args.date_range)

planetoid.do_pretend_science()

# now let's do some phase curves!

# get the RSP r filter model
Expand Down
5 changes: 0 additions & 5 deletions src/adler/dataclasses/AdlerPlanetoid.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,3 @@ def SSObject_in_filter(self, filter_name):
raise ValueError("Filter {} is not in AdlerPlanetoid.filter_list.".format(filter_name))

return self.SSObject.filter_dependent_values[filter_index]

def do_pretend_science(self):
self.DummyScienceResult = DummyScience().science_result

print(self.DummyScienceResult)
14 changes: 1 addition & 13 deletions src/adler/dataclasses/SSObject.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,6 @@ class SSObject:
A list of FilterDependentSSO objects storing the filter-dependent values H, Herr, G12, G12err and nData,
in same order as filter_list. See documentation for FilterDependentSSO object for descriptions of these variables.
G12: array_like of floats
Best fit G12 slope parameters per-filter, in same order as filter_list.
Herr : array_like of floats
Uncertainty of H per-filter, in same order as filter_list.
G12Err : array_like of floats
Uncertainty of G12 per-filter, in same order as filter_list.
nData: array_like of ints
The number of data points used to fit the phase curve per-filter, in same order as filter_list.
maxExtendedness: float
maximum `extendedness` value from the DIASource
Expand Down Expand Up @@ -133,7 +121,7 @@ class FilterDependentSSO:
G12Err : float
Uncertainty of G12.
nData: array_like of ints
nData: int
The number of data points used to fit the phase curve in this filter.
"""

Expand Down

0 comments on commit 551ce56

Please sign in to comment.