Phot2lc

Latest version: v1.7.8

Safety actively analyzes 634391 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

1.6.0

--------------------------
> Added a new capability to phot2lc which allows Users
to perform sigma rejections when fitting a polynomial
to the light curve. This optimizes the fitting procedure
for objects which are expected to exhibit many points
below or above the average flux, for example objects
in eclipsing binaries or flare stars. The -f keyword
is still available for simple polynomial fitting without
sigma rejections where only the polynomial degree needs
to be defined. A new keword, -F, is used to define the
sigma rejections parameters:
- Polymial Degree , e.g. 3
- Rejection Iterations , e.g. 10
- Lower Sigma Threshold , e.g. 2.5
- Upper Sigma Threshold , e.g. 5.0
> Fixed the weldlc header which still indicated two time
time columns were present though now only one is
included.
> Refined treatment of light curves which have not been
barycentric corrected. When corrections are not
performed, the .lc and .phot headers now have "None"
entered for the BJED value. In addition there is a
headder keyword "BaryCorr" with a value of True or
False indicating whether corrections have been
performed.
> Related to the above point, the weldlc header looks
different now depending on whether the input light
curve files have all been barycentric corrected or
not. If they have, all of the times referencing the
start of the welded light curve (T0) are in TDB time
scales. If they haven't, the times are instead in the
UTC scale, or some combination of the UTC and TDB scales.
Unless specified using weldlc's new -b (--bypass) option,
however, weldlc will throw an error if not ALL of the
input light curves have been barycentric corrected.
Regardless of whether you use the -b option, though,
weldlc still works the same in the sense that it simply
takes the time columns from each .lc file and concatenates
them together. The only true difference is that the -b
option will reference all times to the earliest MJD value
found rather than the earliest BJED value.

1.5.13

---------------------------
> Updated the weldlc and quicklook programs to work
properly with the newly formatted .lc file.
> Minor modifications to the quicklook plot format.
The text displayed on the periodogram plots is
now positioned more efficiently to prevent overlap.

1.5.12

---------------------------
> Changed .lc and .phot file format. Instead of two time
columns, there is now only one. The time column is
either the raw times or the barycentric corrected
times. The user has control over which output occurs
using the new -b (--barycorr) command line option
when calling phot2lc.

1.5.11

---------------------------
> Small bug fix in the pp_scat function within photfunc.py.
Denominator should have been N-1, not N.

1.5.10

---------------------------
> Improved the x,y coordinates for text in the "First Image"
window so that each star's label no longer overlaps the
star or circle marker.
> Added an additional curve to the P2P Scatter vs. Aperture
size plot when the Grid search option is used. This
curve, colored red, shows the P2P vs. Ap Size trend for
the grid search's determination of the optimal comp
star combination.
> Improved y-axis scaling of the periodogram plot in the
Aperture Selection window.
> Added legend to P2P vs. ApSize plot showing the comparison
stars used and the minimum P2P scatter value.
> Added a "Time" keyword in the welded light curve header.
> Changed the "UTC" keyword in .lc and .phot file headers to
"Time" to be consistent with the welded file header.
> The quicklook -s option is now for optionally saving rather
than optionally showing the resulting plot. The plot is
now always shown.
> The quicklook output file naming convention was changed
from quicklook_object_date.pdf to quicklook_filename.pdf
where "filename" is the input .lc file's name.
> Fixed bug in photfunc.py's prewhiten function which
calculated one more pre-whitening step than requested.

1.5.9

--------------------------
> Updates to the quicklook program. Added new command
line options for when performing pre-whitening:
-l --lower, Lower frequency limit for pre-whitening
search (micro-Hertz, default = 500).
-u --upper, Upper frequency limit for pre-whitening
search (micro-Hertz, default = 100,000).
-n --num , Maximum number of pre-whitening iterations
(default = 10).
These new options provide the user with more control
over the pre-whitening process, in particular when the
object of interest shows low-frequency variability.

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.