tglc 0.6.2__tar.gz → 0.6.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tglc-0.6.2/tglc.egg-info → tglc-0.6.3}/PKG-INFO +1 -2
- {tglc-0.6.2 → tglc-0.6.3}/README.rst +0 -1
- {tglc-0.6.2 → tglc-0.6.3}/setup.py +1 -1
- tglc-0.6.3/tglc/__init__.py +3 -0
- {tglc-0.6.2 → tglc-0.6.3}/tglc/ffi.py +1 -1
- {tglc-0.6.2 → tglc-0.6.3}/tglc/ffi_cut.py +1 -1
- {tglc-0.6.2 → tglc-0.6.3}/tglc/quick_lc.py +2 -2
- {tglc-0.6.2 → tglc-0.6.3/tglc.egg-info}/PKG-INFO +1 -2
- tglc-0.6.2/tglc/__init__.py +0 -3
- {tglc-0.6.2 → tglc-0.6.3}/LICENSE +0 -0
- {tglc-0.6.2 → tglc-0.6.3}/MANIFEST.in +0 -0
- {tglc-0.6.2 → tglc-0.6.3}/setup.cfg +0 -0
- {tglc-0.6.2 → tglc-0.6.3}/tglc/background_mask/__init__.py +0 -0
- {tglc-0.6.2 → tglc-0.6.3}/tglc/background_mask/median_mask.fits +0 -0
- {tglc-0.6.2 → tglc-0.6.3}/tglc/effective_psf.py +0 -0
- {tglc-0.6.2 → tglc-0.6.3}/tglc/lc_plot.py +0 -0
- {tglc-0.6.2 → tglc-0.6.3}/tglc/mast.py +0 -0
- {tglc-0.6.2 → tglc-0.6.3}/tglc/run.py +0 -0
- {tglc-0.6.2 → tglc-0.6.3}/tglc/source_output.py +0 -0
- {tglc-0.6.2 → tglc-0.6.3}/tglc/target_lightcurve.py +0 -0
- {tglc-0.6.2 → tglc-0.6.3}/tglc.egg-info/SOURCES.txt +0 -0
- {tglc-0.6.2 → tglc-0.6.3}/tglc.egg-info/dependency_links.txt +0 -0
- {tglc-0.6.2 → tglc-0.6.3}/tglc.egg-info/requires.txt +0 -0
- {tglc-0.6.2 → tglc-0.6.3}/tglc.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tglc
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.3
|
|
4
4
|
Summary: TESS-Gaia Light Curve
|
|
5
5
|
Home-page: https://github.com/TeHanHunter/TESS_Gaia_Light_Curve
|
|
6
6
|
Author: Te Han
|
|
@@ -12,7 +12,6 @@ Description: ==================================
|
|
|
12
12
|
|
|
13
13
|
TESS-Gaia Light Curve (`TGLC <https://archive.stsci.edu/hlsp/tglc>`_) is a dataset of TESS full-frame image light curves publicly available via the MAST portal. It is fitted with effective PSF and decontaminated with Gaia DR3 and achieved percent-level photometric precision down to 16th TESS magnitude! It unlocks astrophysics to a vast number of dim stars below 12th TESS magnitude. A package called tglc is pip-installable for customized light curve fits.
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
==================================
|
|
17
16
|
Usage
|
|
18
17
|
==================================
|
|
@@ -4,7 +4,6 @@ Introduction
|
|
|
4
4
|
|
|
5
5
|
TESS-Gaia Light Curve (`TGLC <https://archive.stsci.edu/hlsp/tglc>`_) is a dataset of TESS full-frame image light curves publicly available via the MAST portal. It is fitted with effective PSF and decontaminated with Gaia DR3 and achieved percent-level photometric precision down to 16th TESS magnitude! It unlocks astrophysics to a vast number of dim stars below 12th TESS magnitude. A package called tglc is pip-installable for customized light curve fits.
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
==================================
|
|
9
8
|
Usage
|
|
10
9
|
==================================
|
|
@@ -203,7 +203,7 @@ class Source(object):
|
|
|
203
203
|
self.mask = mask[y:y + size, x:x + size]
|
|
204
204
|
self.time = np.array(time)
|
|
205
205
|
median_time = np.median(self.time)
|
|
206
|
-
interval = (median_time
|
|
206
|
+
interval = (median_time - 388.5) / 365.25
|
|
207
207
|
# Julian Day Number: 2457000.0 (TBJD=0)
|
|
208
208
|
# Calendar Date/Time: 2014-12-08 12:00:00 388.5 days before J2016
|
|
209
209
|
|
|
@@ -127,7 +127,7 @@ class Source_cut(object):
|
|
|
127
127
|
self.flux_err = data_flux_err
|
|
128
128
|
self.quality = data_quality
|
|
129
129
|
median_time = np.median(data_time)
|
|
130
|
-
interval = (median_time
|
|
130
|
+
interval = (median_time - 388.5) / 365.25
|
|
131
131
|
|
|
132
132
|
mask = np.ones(np.shape(data_flux[0]))
|
|
133
133
|
bad_pixels = np.zeros(np.shape(data_flux[0]))
|
|
@@ -461,8 +461,8 @@ if __name__ == '__main__':
|
|
|
461
461
|
directory = f'/home/tehan/Documents/tglc/'
|
|
462
462
|
# directory = f'/home/tehan/data/cosmos/GEMS/'
|
|
463
463
|
os.makedirs(directory, exist_ok=True)
|
|
464
|
-
get_tglc_lc(tics=tics, method='query', server=1, directory=directory)
|
|
465
|
-
plot_lc(local_directory=f'/home/tehan/Documents/tglc/TIC 16005254/', type='cal_aper_flux')
|
|
464
|
+
# get_tglc_lc(tics=tics, method='query', server=1, directory=directory)
|
|
465
|
+
plot_lc(local_directory=f'/home/tehan/Documents/tglc/TIC 16005254/', type='cal_aper_flux', ylow=0.9, yhigh=1.1)
|
|
466
466
|
plot_contamination(local_directory=f'{directory}TIC {tics[0]}/', gaia_dr3=5751990597042725632)
|
|
467
467
|
# plot_epsf(local_directory=f'{directory}TIC {tics[0]}/')
|
|
468
468
|
# plot_pf_lc(local_directory=f'{directory}TIC {tics[0]}/lc/', period=0.71912603, mid_transit_tbjd=2790.58344,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tglc
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.3
|
|
4
4
|
Summary: TESS-Gaia Light Curve
|
|
5
5
|
Home-page: https://github.com/TeHanHunter/TESS_Gaia_Light_Curve
|
|
6
6
|
Author: Te Han
|
|
@@ -12,7 +12,6 @@ Description: ==================================
|
|
|
12
12
|
|
|
13
13
|
TESS-Gaia Light Curve (`TGLC <https://archive.stsci.edu/hlsp/tglc>`_) is a dataset of TESS full-frame image light curves publicly available via the MAST portal. It is fitted with effective PSF and decontaminated with Gaia DR3 and achieved percent-level photometric precision down to 16th TESS magnitude! It unlocks astrophysics to a vast number of dim stars below 12th TESS magnitude. A package called tglc is pip-installable for customized light curve fits.
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
==================================
|
|
17
16
|
Usage
|
|
18
17
|
==================================
|
tglc-0.6.2/tglc/__init__.py
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|