Skip to content

Commit

Permalink
fixing displayed attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
temuller committed Jun 18, 2024
1 parent 6a94026 commit de8a523
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/piscola/lightcurves_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def __init__(self, band, lcs_df):
band: str
Light-curve filter/band name.
lcs_df: Dataframe
Light-curve data: `time`, `flux`, `error`, `zero-point`
Light-curve data: `times`, `fluxes`, `flux_errors`, `magnitudes`, `mag_errors`
and `magnitude system`.
"""
self.band = band
Expand All @@ -31,7 +31,7 @@ def __init__(self, band, lcs_df):

def __repr__(self):
return (f"band: {self.band}, zp: {self.zp:.5}, mag_sys: {self.mag_sys}"
"\nother attributes: time, flux, flux_err, mag, mag_err")
"\nother attributes: times, fluxes, flux_errors, magnitudes, mag_errors")

def __getitem__(self, item):
return getattr(self, item)
Expand Down

0 comments on commit de8a523

Please sign in to comment.