Lightkurve

Latest version: v2.5.0

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

Scan your dependencies

Page 2 of 9

2.2.0

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

- Fixed a bug in ``TargetPixelFile.interact()`` which prevented custom pixels
from being selected with Bokeh v2.3.x and later. [1177]

- Improved ``TargetPixelFile.interact_sky()`` by introducing an arrow to
highlight selected stars, adding an ``aperture_mask`` argument, and
defaulting to box zoom. [1082]

- Fixed a bug in ``LightCurve.select_flux()`` to ensure ``NORMALIZED`` header
is set based on the new ``flux`` column. [1094]

- Fixed a bug in ``LightCurveCollection.stitch()`` which triggered a ``ValueError``
when a mix of normal and masked columns was encountered. [1182]

- Removed the ``QColumn``, ``QMaskedColumn``, and ``QTimeSeries`` classes which were
temporarily added in Lightkurve v2.0 to support AstroPy v4.2 and earlier. [1188]

- Fixed a ``FutureWarning`` triggered by ``query_solar_system_objects()``. [1189]

- Removed ``setup.py`` because ``pip>=21.3`` now enables editable installs to
be executed using the ``pyproject.toml`` file instead. [1185]

2.1.1

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

- Fixed a bug in ``LightCurve.plot_river()`` which triggered a
`TypeError: cannot write to unmasked output`. [1175]

- Fixed a bug in `search_tesscut(...).download()` which caused TESSCut
downloads to fail when Astroquery v0.4.6 or later is installed. [1176]

- Fixed a bug in ``LightCurve.fill_gaps()`` which caused incorrect
results in the presence of masked data. [1172]

2.1.0

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

- Made Lightkurve compatible with AstroPy v5.0, which introduced masked quantities.
Lightkurve v2.1 now requires AstroPy v5.0 and Python v3.8 or later. [1162]

- Added the ``cbv_dir`` parameter to ``CBVCorrector``, ``load_kepler_cbvs``, and
``load_tess_cbvs`` to enable CBVs to be loaded from a local directory. [1122]

- Deprecated ``download_kepler_cbvs`` and ``download_tess_cbvs`` in favor of
``load_kepler_cbvs`` and ``load_tess_cbvs``. [1122]

- Restored original ``bins`` functionality from v1.x in ``LightCurve.bin()`` and
enabled iterable inputs to ``time_bin_start``, ``time_bin_end``, ``time_bin_size``
for custom bin sizes. [1042]

2.0.11

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

- Modified ``TargetPixelFile.interact_sky()`` to enable it to work with
pixel files which lack proper motion or coordinate information. [1088]

- Fixed excessive memory usage by ``LightCurve.bin()``. [1096]

- Various improvements to the online documentation. [1102]

- Fixed a bug in ``TargetPixelFile.estimate_centroids()`` which caused the column
and row coordinates to be off by 0.5. [1103]

- Fixed a bug which caused a light curve's meta data to be lost after
calling ``LightCurve.bin()``. [1041]

- Modified the BKJD and BTJD AstroPy time formats to use the Barycentric
Dynamical Time (TDB) scale by default. [1112]

- Modified ``LightCurve.create_transit_mask()`` to accept AstroPy ``Quantity``
objects for ``period``, ``transit_time``, and ``duration``. [1119, 1141]

- Modified ``CBVCorrector`` to issue a warning message if the CBVs are
poorly aligned to the input light curve. [1113]

- Fixed a bug in ``underfit_metric_neighbors()`` which caused the alignment
of light curves to fail. [1120]

- Removed an unnecessary warning triggered when ``LightCurve.normalize()`` is called
on an already-normalized light curve. [1128]

- Fixed an AstroPy warning ("dropping mask in Quantity column") which was encountered
when opening a light curve with AstroPy v4.3 installed.

- Fixed a bug in ``TargetPixelFile.animate()`` which caused a ``ModuleNotFoundError``
to be raised when using older versions of matplotlib. [1139]

- Added a ``column`` parameter to ``LightCurve.truncate()``. [1116]

2.0.10

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

- Modified the search functions to ensure the two parts of K2 Campaigns
9, 10, and 11 are more clearly marked. [1018]

- Fixed a bug in ``LightCurve`` which caused left-hand side multiplication
with NumPy floats and AstroPy Quantity objects to fail. [925]

- Fixed a bug which caused ``TargetPixelFile.to_lightcurve()`` to fail when
a pixel file lacked the keywords "TUNIT5" or "TUNIT6".

- Fixed a bug which caused the ``column`` parameter to be ignored in
``TargetPixelFile.animate()``.

- Fixed a bug in ``TargetPixelFile.interact()`` when ``ylim_func`` is specified and
users tap to select custom apertures. [1033]

- Improved the user interface of ``TargetPixelFile.interact_sky()``, including providing
TIC information when applicable. [1050]

- Fixed a bug in ``search_tesscut().download()`` when ``download_dir`` is specified.
[1063]

- Fixed a bug in ``LightCurveCollection`` and ``TargetPixelFileCollection``, where
indexing by slice, e.g., ``lc_collection[0:2]``, incorrectly returns a ``list`` [1077]

- Added the ``LightCurve.select_flux()`` method to make it easier to use a different
column to populate the ``flux`` and ``flux_err`` columns. [1076]

- Modified the MIT Quicklook Pipeline (QLP) light curve file reader to use the "SAP_FLUX"
column as the default flux column. [1083]

2.0.9

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

- Added the ``head()``, ``tail()``, and ``truncate()`` convenience methods
to the ``LightCurve`` class. [1017]

- Modified ``TargetPixelFile.to_lightcurve()`` to accept "sff", "cbv", and "pld"
as options for the ``method`` keyword argument. [1017]

- Fixed a bug in ``LightCurve.append()`` which caused the method to crash
if the light curves contained incompatible column types. [1015]

Page 2 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.