Releases: lightkurve/lightkurve
Release v2.4.2
Patch fixes a change to the MAST API which broke a logging message when downloading data.
Lightkurve v2.4.1
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
-
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
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 toquery_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
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 includingtime
. [#1199] -
Fixed a bug in
LightCurve()
constructor, which triggered an
AttributeError
whendata
parameter is alist
orndarray
[#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
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 anaperture_mask
argument, and
defaulting to box zoom. [#1082] -
Fixed a bug in
LightCurve.select_flux()
to ensureNORMALIZED
header
is set based on the newflux
column. [#1094] -
Fixed a bug in
LightCurveCollection.stitch()
which triggered aValueError
when a mix of normal and masked columns was encountered. [#1182] -
Removed the
QColumn
,QMaskedColumn
, andQTimeSeries
classes which were
temporarily added in Lightkurve v2.0 to support AstroPy v4.2 and earlier. [#1188] -
Fixed a
FutureWarning
triggered byquery_solar_system_objects()
. [#1189] -
Removed
setup.py
becausepip>=21.3
now enables editable installs to
be executed using thepyproject.toml
file instead. [#1185]
Lightkurve v2.1.1
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
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 toCBVCorrector
,load_kepler_cbvs
, and
load_tess_cbvs
to enable CBVs to be loaded from a local directory. [#1122] -
Deprecated
download_kepler_cbvs
anddownload_tess_cbvs
in favor of
load_kepler_cbvs
andload_tess_cbvs
. [#1122] -
Restored original
bins
functionality from v1.x inLightCurve.bin()
and
enabled iterable inputs totime_bin_start
,time_bin_end
,time_bin_size
for custom bin sizes. [#1042]
Lightkurve v2.0.11
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
callingLightCurve.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 AstroPyQuantity
objects forperiod
,transit_time
, andduration
. [#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 aModuleNotFoundError
to be raised when using older versions of matplotlib. [#1139] -
Added a
column
parameter toLightCurve.truncate()
. [#1116]
Lightkurve v2.0.10
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()
whenylim_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()
whendownload_dir
is specified.
[#1063] -
Fixed a bug in
LightCurveCollection
andTargetPixelFileCollection
, where
indexing by slice, e.g.,lc_collection[0:2]
, incorrectly returns alist
[#1077] -
Added the
LightCurve.select_flux()
method to make it easier to use a different
column to populate theflux
andflux_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]