Skip to content

Instantly share code, notes, and snippets.

@anupamsharma
anupamsharma / EclipsingBinaryStarClassRep.py
Last active October 11, 2015 10:48
AstronomicalObjectsClassRep
# Initial eclipsing binary star intro
# http://www.physics.sfasu.edu/astro/ebstar/ebstar.html
#
class LightCurve(object):
"""
This class represents light curve of an astronomical object. Light curve means
curve between time and magnitude (visual magnitude in this case).
"""
def __init__(self, start_date, time_unit):
self._points = []