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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tglc
3
- Version: 0.6.2
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
  ==================================
@@ -6,7 +6,7 @@ with open("README.rst", "r", encoding="utf-8") as fh:
6
6
  long_description = fh.read()
7
7
  setuptools.setup(
8
8
  name="tglc",
9
- version='0.6.2',
9
+ version='0.6.3',
10
10
  author="Te Han",
11
11
  author_email="tehanhunter@gmail.com",
12
12
  description="TESS-Gaia Light Curve",
@@ -0,0 +1,3 @@
1
+ __version__ = "0.6.3"
2
+ __author__ = 'Te Han, Timothy Brandt'
3
+ __credits__ = 'University of California, Santa Barbara'
@@ -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 + 388.5) / 365.25
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 + 388.5) / 365.25
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.2
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
  ==================================
@@ -1,3 +0,0 @@
1
- __version__ = "0.6.2"
2
- __author__ = 'Te Han, Timothy Brandt'
3
- __credits__ = 'University of California, Santa Barbara'
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