lightstack 0.2.1__tar.gz → 0.3.1__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: lightstack
3
- Version: 0.2.1
3
+ Version: 0.3.1
4
4
  Summary: Tools for building and processing multi-filter astrophysical datacubes
5
5
  Author: Andressa Wille, Thallis Pessi
6
6
  License: MIT License
@@ -35,7 +35,7 @@ Requires-Dist: regions
35
35
  Requires-Dist: scipy
36
36
  Requires-Dist: photutils
37
37
 
38
- [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.19393438.svg)](https://doi.org/10.5281/zenodo.19393438)
38
+ [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.19393438.svg)](https://doi.org/10.5281/zenodo.20360028)
39
39
 
40
40
  <img src="https://raw.githubusercontent.com/AndressaWille/lightstack/master/images/logo.png" width="120">
41
41
 
@@ -1,4 +1,4 @@
1
- [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.19393438.svg)](https://doi.org/10.5281/zenodo.19393438)
1
+ [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.19393438.svg)](https://doi.org/10.5281/zenodo.20360028)
2
2
 
3
3
  <img src="https://raw.githubusercontent.com/AndressaWille/lightstack/master/images/logo.png" width="120">
4
4
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "lightstack"
3
- version = "0.2.1"
3
+ version = "0.3.1"
4
4
  description = "Tools for building and processing multi-filter astrophysical datacubes"
5
5
  readme = "README.md"
6
6
  authors = [{name = "Andressa Wille"}, {name="Thallis Pessi"}]
@@ -5,7 +5,7 @@ of multi-filter photometric datacubes using astronomical imaging (HST and JWST).
5
5
  Main functionalities include:
6
6
  - Crop regions
7
7
  - Image alignment and photometric datacube construction
8
- - PSF matching using convolution kernels
8
+ - Empirical PSF (ePSF) construction and PSF matching using convolution kernels
9
9
  - Visualization of FITS images and datacubes
10
10
  """
11
11
 
@@ -14,8 +14,10 @@ Main functionalities include:
14
14
  # =========================
15
15
  from .crop import (
16
16
  get_sky_bbox_from_cutout,
17
+ get_common_sky_bbox,
17
18
  crop_from_radec,
18
19
  crop_using_reference,
20
+ get_common_region_from_reg,
19
21
  crop_reg,
20
22
  cut_region_2d,
21
23
  )
@@ -38,6 +40,26 @@ from .datacube import (
38
40
  # PSF matching
39
41
  # =========================
40
42
  from .psf import (
43
+ get_psf_input_files,
44
+ extract_cutouts,
45
+ subtract_background,
46
+ measure_centers,
47
+ recenter_cutouts,
48
+ normalize_by_aperture,
49
+ radial_profile,
50
+ center_crop,
51
+ normalize_psf,
52
+ oversample_psf,
53
+ add_arcsec_axis,
54
+ encircled_energy,
55
+ clean_stellar_cutouts_radially,
56
+ plot_stellar_radial_profiles,
57
+ plot_psf_stars,
58
+ plot_psf_diagnostics,
59
+ make_psf_header,
60
+ build_empirical_psf,
61
+ pad_psf_for_resampling,
62
+ resample_psf_to_pixel_scale,
41
63
  centroid_weighted,
42
64
  make_odd,
43
65
  resample_psf,
@@ -60,19 +82,18 @@ from .plot import (
60
82
  # Utils
61
83
  # =========================
62
84
  from .utils import (
63
- get_filter,
85
+ identify_filter,
64
86
  get_filter_info,
65
- pick_output_group,
66
- pick_group,
67
- pick_instrument,
68
- sort_filters,
87
+ select_filters,
69
88
  add_custom_dataset,
89
+ simplify_fits_filename,
70
90
  find_ext,
71
91
  save_fits,
92
+ read_ds9_physical_boxes,
93
+ counts_s_to_jy,
72
94
  MJy_sr_to_jy,
73
95
  get_pixel_scale,
74
- get_pixel_scale_from_wcs
75
-
96
+ get_pixel_scale_from_wcs,
76
97
  )
77
98
 
78
99
  # =========================
@@ -81,8 +102,10 @@ from .utils import (
81
102
  __all__ = [
82
103
  # crop
83
104
  "get_sky_bbox_from_cutout",
105
+ "get_common_sky_bbox",
84
106
  "crop_from_radec",
85
107
  "crop_using_reference",
108
+ "get_common_region_from_reg",
86
109
  "crop_reg",
87
110
  "cut_region_2d",
88
111
 
@@ -96,6 +119,26 @@ __all__ = [
96
119
  "update_cube_header",
97
120
 
98
121
  # psf
122
+ "get_psf_input_files",
123
+ "extract_cutouts",
124
+ "subtract_background",
125
+ "measure_centers",
126
+ "recenter_cutouts",
127
+ "normalize_by_aperture",
128
+ "radial_profile",
129
+ "center_crop",
130
+ "normalize_psf",
131
+ "oversample_psf",
132
+ "add_arcsec_axis",
133
+ "encircled_energy",
134
+ "clean_stellar_cutouts_radially",
135
+ "plot_stellar_radial_profiles",
136
+ "plot_psf_stars",
137
+ "plot_psf_diagnostics",
138
+ "make_psf_header",
139
+ "build_empirical_psf",
140
+ "pad_psf_for_resampling",
141
+ "resample_psf_to_pixel_scale",
99
142
  "centroid_weighted",
100
143
  "make_odd",
101
144
  "resample_psf",
@@ -111,14 +154,14 @@ __all__ = [
111
154
 
112
155
  # utils
113
156
  "find_ext",
114
- "get_filter",
157
+ "identify_filter",
115
158
  "get_filter_info",
116
- "pick_output_group",
117
- "pick_group",
118
- "pick_instrument",
119
- "sort_filters",
159
+ "select_filters",
120
160
  "add_custom_dataset",
161
+ "simplify_fits_filename",
121
162
  "save_fits",
163
+ "read_ds9_physical_boxes",
164
+ "counts_s_to_jy",
122
165
  "MJy_sr_to_jy",
123
166
  "get_pixel_scale",
124
167
  "get_pixel_scale_from_wcs",