Skip to content

Releases: lightkurve/lightkurve

Release v2.4.2

03 Nov 15:03
Compare
Choose a tag to compare

Patch fixes a change to the MAST API which broke a logging message when downloading data.

Lightkurve v2.4.1

06 Sep 13:51
Compare
Choose a tag to compare

Patch fixes problems from the updated numpy release.

2.4.1 (2023-09-06)

  • Updated interact features to work with JupyterHub (e.g. TiKE) [#1349]
  • Exposed niters parameter in the PCA function of design matrix
  • Fixed the aperture parsing functions inside TPFs to be compliant with numpy v1.25 [#1360]
  • Made LombScarglePeriodogram compatible with Astropy v5.3 [#1342]
  • Updated the TPF plotting function to work correctly with WCS plotting [#1298]
  • Added the ability to open light curves from the TGLC High Level Science Product

Lightkurve v2.4.0

14 Feb 19:20
Compare
Choose a tag to compare
  • Added the ability to configure the default cache directory used by
    SearchResult.download() / SearchResult.download_all(). [#1214]

  • Moved the default cache directory from $HOME/.lightkurve-cache
    to $HOME/.lightkurve/cache. [#1214]

  • Fixed interact features, e.g. tpf.interact(), to work with bokeh v3.x [#1262]

  • Fixed SearchResult HTML display for links to TESS GI cycles 3/4 proposals. [#1260]

  • Fixed references to np.int and np.float due to changes in numpy v1.24. [#1279]

Lightkurve v2.3.0

08 Jul 18:44
9f260f2
Compare
Choose a tag to compare

Lightkurve v2.3.0 includes the following changes:

  • Added support for reading light curves created using the eleanor package
    or provided by the GSFC-ELEANOR-LITE High Level Science Product. [#1217, #1236]

  • Added data product specific documentation. [#1233]

  • Added the ability to include more columns in SearchResult display via a new
    SearchResult.display_extra_columns attribute, with defaults set by an
    Astropy-based configuration system. [#1134, #1232]

  • Added a show_progress parameter to query_solar_system_objects(),
    which shows the download progress by default. [#1225]

  • Added the new TESS quality flag bits 13-15 to TessQualityFlags. [#1218]

  • Added an informative error message when data products downloaded are
    corrupted or download failed due to remote server error. [#1228]

  • Fixed an issue which caused unnecessary UnitsWarning being raised when
    reading light curve files and CBV files with AstroPy v5.1 installed. [#1226, #1229]

Lightkurve v2.2.1

27 May 00:28
Compare
Choose a tag to compare

Lightkurve v2.2.1 includes the following changes:

  • Fixed a bug in LightCurve.flatten() which caused the flux unit of
    flattened light curves to be non-dimensionless. [#1195]

  • Improved TargetPixelFile.interact_sky() to include TIC information
    even when the TICs are not found in Gaia. [#1204]

  • Removed extraneous warnings from TargetPixelFile.interact_sky(). [#1204]

  • Fixed a bug in FoldedLightCurve.odd_mask and .even_mask which caused
    the mask to be incorrect when the phase is literal time. [#1105]

  • Added a new FoldedLightCurve.cycle attribute. [#1105]

  • Fixed a bug in LightCurve['time', '<some-column>'], which triggered an
    AttributeError when selecting a subset of columns including time. [#1199]

  • Fixed a bug in LightCurve() constructor, which triggered an
    AttributeError when data parameter is a list or ndarray [#1199]

  • Fixed a bug in LightCurve.query_solar_system_objects which caused an
    excessive search radius to be used for TESS light curves. [#1208]

  • Various improvements to the online documentation. [#1197, #1210]

Lightkurve v2.2.0

12 Apr 23:13
Compare
Choose a tag to compare

Lightkurve v2.2.0 includes the following changes:

  • 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]

Lightkurve v2.1.1

24 Mar 22:18
Compare
Choose a tag to compare

Lightkurve v2.1.1 includes the following changes:

  • 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]

Lightkurve v2.1.0

11 Feb 04:22
Compare
Choose a tag to compare

Lightkurve v2.1.0 includes the following changes:

  • 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]

Lightkurve v2.0.11

22 Sep 22:57
Compare
Choose a tag to compare

Lightkurve v2.0.11 includes the following changes:

  • 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]

Lightkurve v2.0.10

04 Jun 22:40
Compare
Choose a tag to compare

Lightkurve v2.0.10 includes the following changes:

  • 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]