pyreduce-astro 0.6.0b1__py3-none-any.whl → 0.6.0b2__py3-none-any.whl
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.
- pyreduce/__init__.py +11 -3
- pyreduce/clib/_slitfunc_2d.cpython-313-darwin.so +0 -0
- pyreduce/clib/_slitfunc_bd.cpython-313-darwin.so +0 -0
- {pyreduce_astro-0.6.0b1.dist-info → pyreduce_astro-0.6.0b2.dist-info}/METADATA +1 -1
- {pyreduce_astro-0.6.0b1.dist-info → pyreduce_astro-0.6.0b2.dist-info}/RECORD +7 -7
- {pyreduce_astro-0.6.0b1.dist-info → pyreduce_astro-0.6.0b2.dist-info}/WHEEL +0 -0
- {pyreduce_astro-0.6.0b1.dist-info → pyreduce_astro-0.6.0b2.dist-info}/licenses/LICENSE +0 -0
pyreduce/__init__.py
CHANGED
|
@@ -4,7 +4,7 @@ except ImportError: # for Python<3.8
|
|
|
4
4
|
from importlib_metadata import PackageNotFoundError, version
|
|
5
5
|
|
|
6
6
|
try:
|
|
7
|
-
__version__ = version(
|
|
7
|
+
__version__ = version("pyreduce-astro")
|
|
8
8
|
except PackageNotFoundError:
|
|
9
9
|
__version__ = "unknown"
|
|
10
10
|
|
|
@@ -54,5 +54,13 @@ logger.addHandler(console)
|
|
|
54
54
|
del logging
|
|
55
55
|
# do not del tqdm, it is needed in the Log Handler
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
|
|
58
|
+
# Lazy loading for faster imports
|
|
59
|
+
def __getattr__(name):
|
|
60
|
+
"""Lazy load submodules on first access."""
|
|
61
|
+
if name in ("configuration", "datasets", "reduce", "util"):
|
|
62
|
+
import importlib
|
|
63
|
+
module = importlib.import_module(f".{name}", __name__)
|
|
64
|
+
globals()[name] = module
|
|
65
|
+
return module
|
|
66
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
pyreduce/__init__.py,sha256=
|
|
1
|
+
pyreduce/__init__.py,sha256=dA7KPdGmKFRPu5B-FOnslWTQLHVEkZlO0hySwWh_AGY,1729
|
|
2
2
|
pyreduce/__main__.py,sha256=x59nq52i35-56M-4crL97XNnpCsMD6HwbWwUni4SXfI,3095
|
|
3
3
|
pyreduce/clipnflip.py,sha256=yL_ESobmpVopzEG_jGXeXu63MKnQGSyEW1uAGl7inFE,5557
|
|
4
4
|
pyreduce/combine_frames.py,sha256=xPG-k_Z5Bf7bL6Io3OuHHlsVVlb95wU-QKggXB7RpJo,29196
|
|
@@ -17,8 +17,8 @@ pyreduce/trace_orders.py,sha256=DxSvWA2rMjxYhyxwtF1AFmKcUGarsZ0ic0Sq-gqMExg,2067
|
|
|
17
17
|
pyreduce/util.py,sha256=xu41l56zMVjuP9129dU45L05UHGXph9DtpIdUyB7VYY,37188
|
|
18
18
|
pyreduce/wavelength_calibration.py,sha256=GNHTOUoGjk5l0TJ7ggaPX5fxZLBPJxuXEjcV3sTJuRs,68564
|
|
19
19
|
pyreduce/clib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
20
|
-
pyreduce/clib/_slitfunc_2d.cpython-313-darwin.so,sha256=
|
|
21
|
-
pyreduce/clib/_slitfunc_bd.cpython-313-darwin.so,sha256=
|
|
20
|
+
pyreduce/clib/_slitfunc_2d.cpython-313-darwin.so,sha256=DI56HNhl66l-r3_8X_O8tKORd_C3SRUGat_FqZh9IF8,69872
|
|
21
|
+
pyreduce/clib/_slitfunc_bd.cpython-313-darwin.so,sha256=mJxoOp_7M9DguObQkClGAM-_iREQOH4BkDKHOrPseC8,52240
|
|
22
22
|
pyreduce/clib/build_extract.py,sha256=Jf1nqWUIR_fnlnUrwpiWJd-sNP6Yq2WZPC5mKqCOUbY,1945
|
|
23
23
|
pyreduce/clib/slit_func_2d_xi_zeta_bd.c,sha256=o_R_3hq0tX2ZdaCRxJjY2mXQf4RaYENcVKVn2OZR_Rk,51279
|
|
24
24
|
pyreduce/clib/slit_func_2d_xi_zeta_bd.h,sha256=vQkOPIzNzOa32D-iW1_qoQDp4jtaKjSHUYCiDMIIcq4,1512
|
|
@@ -145,7 +145,7 @@ pyreduce/wavecal/xshooter_nir.npz,sha256=0Fu5wxWutc8072n8Hk2AZAWSlyT4WdhJuhh0OzU
|
|
|
145
145
|
pyreduce/wavecal/atlas/thar.fits,sha256=nPPNStZ281iPUNsOXu3YJfHNlnHBd1CWMLwTuZL8vvo,1529218
|
|
146
146
|
pyreduce/wavecal/atlas/thar_list.txt,sha256=saK3YW1slxlXGeulZDdILWf952XOWToJcUULVSHMe6k,63515
|
|
147
147
|
pyreduce/wavecal/atlas/une.fits,sha256=egHlchdM4AN9MSksEI5MlHkmB3g1G1VhEdzhUG3XU8I,2949057
|
|
148
|
-
pyreduce_astro-0.6.
|
|
149
|
-
pyreduce_astro-0.6.
|
|
150
|
-
pyreduce_astro-0.6.
|
|
151
|
-
pyreduce_astro-0.6.
|
|
148
|
+
pyreduce_astro-0.6.0b2.dist-info/METADATA,sha256=mmpbNGsvx1yf0JShQF3IWn4MoamokSrhrgLF-2SMhKQ,5267
|
|
149
|
+
pyreduce_astro-0.6.0b2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
150
|
+
pyreduce_astro-0.6.0b2.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
151
|
+
pyreduce_astro-0.6.0b2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|