Lightkurve

Latest version: v2.5.0

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

Scan your dependencies

Page 6 of 9

1.6.0

==================

- Fixed a bug in ``tpf.to_lightcurve()`` which caused ``flux`` and ``flux_err``
to be ``0`` instead of ``NaN`` for cadences with all-NaN pixels. [651]

- Added a new TESS data anomaly flag (bit 13 / value 4096) which was introduced
in Sector 14 to mark cadences affected by strong scattered light. Compared
to the original stray light flag (bit 12), this flag is set automatically by
the pipeline based on background level thresholds. [652]

- Changed the requirements to make ``fbpca`` a required dependency, because
it allows ``DesignMatrix.pca()`` to be faster and more robust. [653]

1.5.2

==================

- Fixed a bug introduced in v1.5.0 which caused an ``ImportError`` related to
``astropy.stats.calculate_bin_edges`` to be raised when a user has an older
version of AstroPy installed (version <3.1 or <2.10). [644]

- Fixed a bug which caused the positions of stars in ``tpf.interact_sky()`` to
be off by one pixel. [638]

1.5.1

==================

- Fixed a bug introduced in Lightkurve v1.5 which caused ``import lightkurve``
on Mac OSX to automatically select the Matplotlib Agg backend. [640]

1.5.0

==================

- Changed the representation of ``SearchResult`` objects to make it easier to
see at a glance which quarter/campaign/sector a result belongs to. [632]

- Added ``mission``, ``sector``, ``camera``, and ``ccd`` properties to
``TessLightCurveFile`` for consistency with ``TessTargetPixelFile``. [633]

- Added the ``bins`` argument to ``LightCurve.bin()`` to enable custom binning
by specifying the bin edges or the total number of bins. [629]

- Added ``transform_func`` & ``ylim_func`` keywords to ``interact()`` to
support user-defined light curve transformations and y-axis limits. [600]

- Added ``to_stringray()`` and ``from_stingray()`` to ``LightCurve`` to enable
interoperability with the `Stingray <https://stingraysoftware.github.io/>`_
spectral timing package. [567]

- Added an `ax` (axes) keyword to ``Seismology.plot_echelle()`` to enable
Echelle diagrams to be plotted into an existing Matplotlib figure. [635]

1.4.1

==================

- Fixed a bug which caused ``search_targetpixelfile`` and
``search_lightcurvefile`` to raise an ``IndexError`` if the sector keyword
was passed and the target was observed by both TESS & Kepler. [631]

1.4.0

==================

- Added the generic ``RegressionCorrector`` and ``DesignMatrix`` classes which
provide a user-friendly way to use linear regression to remove background or
systematic noise components from light curves. [613]

- Refactored the ``SFFCorrector`` class to use the new ``RegressionCorrector``,
which deprecated the ``polyorder`` keyword in favor of ``degree``.
[613, 616, 617, 626]

- Changed the `tutorials index page <https://docs.lightkurve.org/tutorials>`_
in the online docs to make the tutorials easier to navigate.

- Added a tutorial which demonstrates the use of Lightkurve's seismology module
to measure the mass, radius, and surface gravity of a solar-like star. [624]

- Changed ``SearchResult.download()`` to raise a more explicit ``HTTPError``
exception when MAST's TESSCut service is overloaded and times out. [627]

Page 6 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.