lightstack 0.3.0__tar.gz → 0.3.2__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.
- {lightstack-0.3.0/src/lightstack.egg-info → lightstack-0.3.2}/PKG-INFO +2 -1
- {lightstack-0.3.0 → lightstack-0.3.2}/pyproject.toml +3 -2
- {lightstack-0.3.0 → lightstack-0.3.2}/src/lightstack/utils.py +11 -11
- {lightstack-0.3.0 → lightstack-0.3.2/src/lightstack.egg-info}/PKG-INFO +2 -1
- {lightstack-0.3.0 → lightstack-0.3.2}/src/lightstack.egg-info/requires.txt +1 -0
- {lightstack-0.3.0 → lightstack-0.3.2}/LICENSE +0 -0
- {lightstack-0.3.0 → lightstack-0.3.2}/README.md +0 -0
- {lightstack-0.3.0 → lightstack-0.3.2}/setup.cfg +0 -0
- {lightstack-0.3.0 → lightstack-0.3.2}/src/lightstack/__init__.py +0 -0
- {lightstack-0.3.0 → lightstack-0.3.2}/src/lightstack/crop.py +0 -0
- {lightstack-0.3.0 → lightstack-0.3.2}/src/lightstack/datacube.py +0 -0
- {lightstack-0.3.0 → lightstack-0.3.2}/src/lightstack/plot.py +0 -0
- {lightstack-0.3.0 → lightstack-0.3.2}/src/lightstack/psf.py +0 -0
- {lightstack-0.3.0 → lightstack-0.3.2}/src/lightstack.egg-info/SOURCES.txt +0 -0
- {lightstack-0.3.0 → lightstack-0.3.2}/src/lightstack.egg-info/dependency_links.txt +0 -0
- {lightstack-0.3.0 → lightstack-0.3.2}/src/lightstack.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lightstack
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: Tools for building and processing multi-filter astrophysical datacubes
|
|
5
5
|
Author: Andressa Wille, Thallis Pessi
|
|
6
6
|
License: MIT License
|
|
@@ -34,6 +34,7 @@ Requires-Dist: reproject
|
|
|
34
34
|
Requires-Dist: regions
|
|
35
35
|
Requires-Dist: scipy
|
|
36
36
|
Requires-Dist: photutils
|
|
37
|
+
Requires-Dist: pandas
|
|
37
38
|
|
|
38
39
|
[](https://doi.org/10.5281/zenodo.20360028)
|
|
39
40
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "lightstack"
|
|
3
|
-
version = "0.3.
|
|
3
|
+
version = "0.3.2"
|
|
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"}]
|
|
@@ -11,7 +11,8 @@ dependencies = [
|
|
|
11
11
|
"reproject",
|
|
12
12
|
"regions",
|
|
13
13
|
"scipy",
|
|
14
|
-
"photutils"
|
|
14
|
+
"photutils",
|
|
15
|
+
"pandas"
|
|
15
16
|
]
|
|
16
17
|
license = {file = "LICENSE"}
|
|
17
18
|
|
|
@@ -370,16 +370,16 @@ def add_custom_dataset(
|
|
|
370
370
|
Name of the telescope/survey (e.g. 'EUCLID', 'ROMAN').
|
|
371
371
|
|
|
372
372
|
filters : dict
|
|
373
|
-
Dictionary in format
|
|
373
|
+
Dictionary in format::
|
|
374
374
|
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
375
|
+
{
|
|
376
|
+
"FILTER1": {
|
|
377
|
+
"lambda": 5500.0,
|
|
378
|
+
"instrument": "TelescopeCam",
|
|
379
|
+
"group": "broad",
|
|
380
|
+
},
|
|
381
|
+
...
|
|
382
|
+
}
|
|
383
383
|
|
|
384
384
|
overwrite : bool, optional
|
|
385
385
|
If True, overwrite existing dataset.
|
|
@@ -403,10 +403,11 @@ def add_custom_dataset(
|
|
|
403
403
|
"Use overwrite=True to replace it."
|
|
404
404
|
)
|
|
405
405
|
|
|
406
|
-
#
|
|
406
|
+
# Validate filters
|
|
407
407
|
for filt, meta in filters.items():
|
|
408
408
|
|
|
409
409
|
missing = required_keys - set(meta.keys())
|
|
410
|
+
|
|
410
411
|
if missing:
|
|
411
412
|
raise ValueError(
|
|
412
413
|
f"Filter '{filt}' missing keys: {missing}"
|
|
@@ -423,7 +424,6 @@ def add_custom_dataset(
|
|
|
423
424
|
|
|
424
425
|
print(f"Dataset '{dataset_name}' added successfully.")
|
|
425
426
|
|
|
426
|
-
|
|
427
427
|
def simplify_fits_filename(fits_file, dataset):
|
|
428
428
|
"""
|
|
429
429
|
Create a simplified FITS filename containing the dataset
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lightstack
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: Tools for building and processing multi-filter astrophysical datacubes
|
|
5
5
|
Author: Andressa Wille, Thallis Pessi
|
|
6
6
|
License: MIT License
|
|
@@ -34,6 +34,7 @@ Requires-Dist: reproject
|
|
|
34
34
|
Requires-Dist: regions
|
|
35
35
|
Requires-Dist: scipy
|
|
36
36
|
Requires-Dist: photutils
|
|
37
|
+
Requires-Dist: pandas
|
|
37
38
|
|
|
38
39
|
[](https://doi.org/10.5281/zenodo.20360028)
|
|
39
40
|
|
|
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
|