Comments (6)
Thinking out loud: this could be a job for the meta
attribute, i.e. the fold()
method could set lc.meta['is_folded'] = True
. The plot method could look for that, and if it's not set, go with the default.
If the user specified the label as an argument to plot
, that would get priority over anything, of course.
from lightkurve.
I think that it might be better to have some description attribute for what's held in flux, flux_err and time. Then when the user prints them it displays that description? The description can update if you run the fold method or flatten method.
e.g.
lc = tpf.to_lightcurve()
flux: 'Flux in counts [e-s-1]
lc = lc.normalize()
flux: 'Normalized Flux'
from lightkurve.
Interesting. I wonder if we want to keep track of flux_label
and flux_units
as attributes or using the meta
dictionary.
Related note: right now we don't support astropy Quantity
at all (if flux is a Quantity
is converted to a simple numpy array in the constructor of LightCurve
).
from lightkurve.
This can be fixed by the user if they pass the xlabel keyword...but we're not doing it. And it's in all our docs and tutorials and gifs.
from lightkurve.
I've proposed a fix in #64.
from lightkurve.
#64 has been merged, meaning this issue should be fixed now!
from lightkurve.
Related Issues (20)
- Can't access hdu from tesscut without saving file HOT 1
- Light curve does not search multiple cadences correctly HOT 3
- Error calling .to_periodogram HOT 10
- Typo in "Searching & downloading Kepler, K2, and TESS data" tutorial HOT 5
- LightCurve.to_fits extra_data keyword not working? HOT 2
- lc.to_fits() + lk.io.read() does not preserve correct FLUX_ORIGIN meta data for SAP_FLUX data HOT 1
- Type error on stitch() HOT 4
- Attempts to download from lightkurve results in a KeyError: 'dataURL' HOT 14
- branch v2.4.x and main is of of sync that could cause merge headache
- Unable to download a lightcurve HOT 1
- showing key error "data URL" while trying to download a targetpixelfile HOT 3
- SearchResult no longer ordered chronologically, it could break user expectation HOT 4
- Having Trouble with lc.download for various stars trying to download TESS-SPOC data HOT 3
- Enhance `TargetPixelFile.interact()` to let user access the selected pixels mask directly in Jupyter notebooks
- Potential memory leak using `lightkurve.read` HOT 3
- Support changes in QLP lightcurves in sectors 56+ (renaming of detrended flux columns, etc.) HOT 1
- Using lightkurve for data other than Tess or Kepler HOT 3
- `search_lightcurve(cadence="short")` includes FFI-based data for TESS sector 56+ / Cycle 5+ HOT 4
- `df_sso=lc.query_solar_system_objects(cadence_mask='all')` Query Fail HOT 5
- `FoldedLightCurve.cycle` failed with `TypeError` when folded without `epoch_time`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightkurve.