lightstack 0.2.0__tar.gz → 0.3.0__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.0
3
+ Version: 0.3.0
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.19393439.svg)](https://doi.org/10.5281/zenodo.19393439)
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.19393439.svg)](https://doi.org/10.5281/zenodo.19393439)
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.0"
3
+ version = "0.3.0"
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
  )
@@ -25,6 +27,7 @@ from .crop import (
25
27
  # Datacube / alignment
26
28
  # =========================
27
29
  from .datacube import (
30
+ load_image_fits,
28
31
  align_reproject_fits,
29
32
  build_datacube,
30
33
  cut_region_datacube,
@@ -37,6 +40,29 @@ from .datacube import (
37
40
  # PSF matching
38
41
  # =========================
39
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,
63
+ centroid_weighted,
64
+ make_odd,
65
+ resample_psf,
40
66
  build_kernel,
41
67
  save_kernel,
42
68
  apply_kernel,
@@ -56,8 +82,18 @@ from .plot import (
56
82
  # Utils
57
83
  # =========================
58
84
  from .utils import (
85
+ identify_filter,
86
+ get_filter_info,
87
+ select_filters,
88
+ add_custom_dataset,
89
+ simplify_fits_filename,
59
90
  find_ext,
60
- infer_filter,
91
+ save_fits,
92
+ read_ds9_physical_boxes,
93
+ counts_s_to_jy,
94
+ MJy_sr_to_jy,
95
+ get_pixel_scale,
96
+ get_pixel_scale_from_wcs,
61
97
  )
62
98
 
63
99
  # =========================
@@ -66,12 +102,15 @@ from .utils import (
66
102
  __all__ = [
67
103
  # crop
68
104
  "get_sky_bbox_from_cutout",
105
+ "get_common_sky_bbox",
69
106
  "crop_from_radec",
70
107
  "crop_using_reference",
108
+ "get_common_region_from_reg",
71
109
  "crop_reg",
72
110
  "cut_region_2d",
73
111
 
74
112
  # datacube
113
+ "load_image_fits",
75
114
  "align_reproject_fits",
76
115
  "build_datacube",
77
116
  "cut_region_datacube",
@@ -80,6 +119,29 @@ __all__ = [
80
119
  "update_cube_header",
81
120
 
82
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",
142
+ "centroid_weighted",
143
+ "make_odd",
144
+ "resample_psf",
83
145
  "build_kernel",
84
146
  "save_kernel",
85
147
  "apply_kernel",
@@ -92,13 +154,16 @@ __all__ = [
92
154
 
93
155
  # utils
94
156
  "find_ext",
95
- "infer_filter",
96
- "pick_folder",
97
- "get_filter",
98
- "filter_id",
157
+ "identify_filter",
158
+ "get_filter_info",
159
+ "select_filters",
160
+ "add_custom_dataset",
161
+ "simplify_fits_filename",
99
162
  "save_fits",
100
- "sort_fits",
163
+ "read_ds9_physical_boxes",
164
+ "counts_s_to_jy",
101
165
  "MJy_sr_to_jy",
102
166
  "get_pixel_scale",
167
+ "get_pixel_scale_from_wcs",
103
168
 
104
169
  ]