Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Fix diffphot docstring #115

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions diffphot.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,14 @@
identifying the most constant stars in the field, (b) computing an artificial
comparison star by taking the weighted mean of the instrumental magnitudes of
these constant stars, using weights inversely proportional to their standard
deviations and, lastly, (c) comparing the instrumental magnitude of our star to
that of the comparison star. In this last step we subtract the magnitude of the
star from that of the comparison star: in this manner, positive values mean
that the former is brighter than the latter.

deviations and (c) subtracting the magnitude of the artificial comparison star
from that of our star. This, along with the fact that magnitudes become lower
the brighter astronomical objects appear, implies that:

(1) Negative values in the light curve mean mean that our star is brighter
than the artificial comparison star, and
(2) A decreasing differental magnitude in the light curve means that our
star appears brighter.
Comment on lines +44 to +45
Copy link
Collaborator

@akdiaz akdiaz Apr 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would put it the other way around because is usually what happens in reality (e.g. transit):
An increasing differential magnitude in the light curve means that our star becomes fainter.

"""

import copy
Expand Down