tessapps 0.2.3__tar.gz → 0.2.4__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.5
2
2
  Name: tessapps
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: TESS Aperture Photometry Pollution eStimator
5
5
  Author: Leonidas Liponis
6
6
  Requires-Python: >=3.9
@@ -15,6 +15,8 @@ Requires-Dist: astroquery
15
15
  Requires-Dist: lightkurve
16
16
  Requires-Dist: bump-my-version ; extra == "dev"
17
17
  Requires-Dist: flit ; extra == "dev"
18
+ Project-URL: Homepage, https://codeberg.org/leolip128/tessapps
19
+ Project-URL: Repository, https://codeberg.org/leolip128/tessapps
18
20
  Provides-Extra: dev
19
21
  Import-Name: tessapps
20
22
 
@@ -22,10 +24,10 @@ Import-Name: tessapps
22
24
 
23
25
  ## Description
24
26
 
25
- A python module that calculates a contamination factor for the target star in a tpf file based on the flux of background stars.
27
+ A python module that calculates a contamination factor in the aperture region of a tpf based on the relative flux of the background stars and the target.
26
28
 
27
29
  <p align="center">
28
- <img src="examples/HAT-P-1.png" alt="HAT-P-1 example" style="width:63.21%; height:auto;">
30
+ <img src="https://github.com/leolip128/tessapps/blob/main/examples/HAT-P-1.png" alt="HAT-P-1 example" style="width:63.21%; height:auto;">
29
31
  </p>
30
32
 
31
33
  ## Prerequisites
@@ -39,8 +41,8 @@ Mandatory:
39
41
 
40
42
  Optional:
41
43
 
42
- - ```lightkurve``` (2.6.0): to fetch tpf files
43
- - ```matplotlib``` (3.10.8): to plot the result
44
+ - ```lightkurve``` (2.6.0): to fetch tpf files (unless they already exist locally)
45
+ - ```matplotlib``` (3.10.8): to plot the result (shows aperture mask with a caption at the bottom)
44
46
 
45
47
  A future version will include minimum working versions (these are the only tested so far)
46
48
 
@@ -69,7 +71,7 @@ flux, error = tapps.run(tpf_CoRoT_1, result=True)
69
71
 
70
72
  ## File Organization
71
73
 
72
- ### All files in ```/src``` are these:
74
+ ### Files in ```/src```:
73
75
 
74
76
  ```bash
75
77
  src
@@ -117,7 +119,6 @@ No LLMs were used in the making of this project. All code was generated and veri
117
119
 
118
120
  - add description
119
121
  - specify dependencies' versions
120
- - add file organization
121
122
  - add options to run the module
122
123
  - add more stuff in this to-do list
123
124
 
@@ -2,10 +2,10 @@
2
2
 
3
3
  ## Description
4
4
 
5
- A python module that calculates a contamination factor for the target star in a tpf file based on the flux of background stars.
5
+ A python module that calculates a contamination factor in the aperture region of a tpf based on the relative flux of the background stars and the target.
6
6
 
7
7
  <p align="center">
8
- <img src="examples/HAT-P-1.png" alt="HAT-P-1 example" style="width:63.21%; height:auto;">
8
+ <img src="https://github.com/leolip128/tessapps/blob/main/examples/HAT-P-1.png" alt="HAT-P-1 example" style="width:63.21%; height:auto;">
9
9
  </p>
10
10
 
11
11
  ## Prerequisites
@@ -19,8 +19,8 @@ Mandatory:
19
19
 
20
20
  Optional:
21
21
 
22
- - ```lightkurve``` (2.6.0): to fetch tpf files
23
- - ```matplotlib``` (3.10.8): to plot the result
22
+ - ```lightkurve``` (2.6.0): to fetch tpf files (unless they already exist locally)
23
+ - ```matplotlib``` (3.10.8): to plot the result (shows aperture mask with a caption at the bottom)
24
24
 
25
25
  A future version will include minimum working versions (these are the only tested so far)
26
26
 
@@ -49,7 +49,7 @@ flux, error = tapps.run(tpf_CoRoT_1, result=True)
49
49
 
50
50
  ## File Organization
51
51
 
52
- ### All files in ```/src``` are these:
52
+ ### Files in ```/src```:
53
53
 
54
54
  ```bash
55
55
  src
@@ -97,7 +97,6 @@ No LLMs were used in the making of this project. All code was generated and veri
97
97
 
98
98
  - add description
99
99
  - specify dependencies' versions
100
- - add file organization
101
100
  - add options to run the module
102
101
  - add more stuff in this to-do list
103
102
 
@@ -16,7 +16,7 @@ dependencies = ["numpy", "scipy", "matplotlib", "astropy", "astroquery", "lightk
16
16
  dev = ["bump-my-version", "flit"]
17
17
 
18
18
  [tool.bumpversion]
19
- current_version = "0.2.3"
19
+ current_version = "0.2.4"
20
20
  commit = false
21
21
  tag = false
22
22
  allow_dirty = true
@@ -24,6 +24,10 @@ allow_dirty = true
24
24
  [[tool.bumpversion.files]]
25
25
  filename = "src/tessapps/__init__.py"
26
26
 
27
+ [project.urls]
28
+ Homepage = "https://codeberg.org/leolip128/tessapps"
29
+ Repository = "https://codeberg.org/leolip128/tessapps"
30
+
27
31
  [project.scripts]
28
32
  tessapps = "tessapps.main:main"
29
33
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  from tessapps.main import run
4
4
 
5
- __version__ = "0.2.3"
5
+ __version__ = "0.2.4"
6
6
  __all__ = ["run"]
@@ -1,7 +1,7 @@
1
- import warnings
2
- from erfa import ErfaWarning
3
- warnings.filterwarnings("ignore", category=ErfaWarning)
4
- warnings.filterwarnings("ignore", message=".*tpfmodel submodule is not available.*")
1
+ # import warnings
2
+ # from erfa import ErfaWarning
3
+ # warnings.filterwarnings("ignore", category=ErfaWarning)
4
+ # warnings.filterwarnings("ignore", message=".*tpfmodel submodule is not available.*")
5
5
 
6
6
  import lightkurve as lk
7
7
  import numpy as np
@@ -13,7 +13,6 @@ from astropy.coordinates import SkyCoord
13
13
  from astropy.wcs.utils import proj_plane_pixel_scales
14
14
  from astroquery.mast import Catalogs
15
15
 
16
- import argparse
17
16
  import matplotlib.pyplot as plt
18
17
  from pathlib import Path
19
18
 
File without changes