pz-rail-astro-tools 1.0.1__py3-none-any.whl → 1.0.2__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.
Potentially problematic release.
This version of pz-rail-astro-tools might be problematic. Click here for more details.
- {pz_rail_astro_tools-1.0.1.dist-info → pz_rail_astro_tools-1.0.2.dist-info}/METADATA +1 -1
- {pz_rail_astro_tools-1.0.1.dist-info → pz_rail_astro_tools-1.0.2.dist-info}/RECORD +7 -7
- rail/astro_tools/_version.py +2 -2
- rail/tools/photometry_tools.py +5 -2
- {pz_rail_astro_tools-1.0.1.dist-info → pz_rail_astro_tools-1.0.2.dist-info}/LICENSE +0 -0
- {pz_rail_astro_tools-1.0.1.dist-info → pz_rail_astro_tools-1.0.2.dist-info}/WHEEL +0 -0
- {pz_rail_astro_tools-1.0.1.dist-info → pz_rail_astro_tools-1.0.2.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
rail/astro_tools/__init__.py,sha256=c0yzN5jMhByii01h_mjOWipeProO8vludBsO09dJkmc,377
|
|
2
|
-
rail/astro_tools/_version.py,sha256=
|
|
2
|
+
rail/astro_tools/_version.py,sha256=BGgbj7AHZwtVw29XgDIjcG5woR-f3jQy2X-ArcRT22E,411
|
|
3
3
|
rail/creation/degraders/grid_selection.py,sha256=QCs7ZpLJ_GdJnIIt0WF09mBLeqsrzQ2CiDo0h0Hd3dQ,12438
|
|
4
4
|
rail/creation/degraders/lsst_error_model.py,sha256=WWQxPO3w1S6sALQxl7x7_mUI1f3o1eOGpBk3Yzi-1Q0,1969
|
|
5
5
|
rail/creation/degraders/observing_condition_degrader.py,sha256=jelIfFHzrgmRmRARm5uC36ZohepfMHq5djWT5wGEaZI,19987
|
|
@@ -14,9 +14,9 @@ rail/examples_data/creation_data/data/survey_conditions/DC2-mask-neg-nside-128.f
|
|
|
14
14
|
rail/examples_data/creation_data/data/survey_conditions/minion_1016_dc2_Median_airmass_i_and_nightlt1825_HEAL.fits,sha256=twvyce70G3h1MQnGGFQJG9wZc8UbuNqXc6mjtiuaL1s,1581120
|
|
15
15
|
rail/examples_data/creation_data/data/survey_conditions/minion_1016_dc2_Median_fiveSigmaDepth_i_and_nightlt1825_HEAL.fits,sha256=RbMMFSVJQxGhZnL4BnISE9VTNljfTZwV6Bax6NxverY,1581120
|
|
16
16
|
rail/examples_data/testdata/rubin_dm_dc2_example2.pq,sha256=_Iihbbcz1A332QAkaMiFacT4QAbBQBMTOwpfrS7AclE,25884
|
|
17
|
-
rail/tools/photometry_tools.py,sha256=
|
|
18
|
-
pz_rail_astro_tools-1.0.
|
|
19
|
-
pz_rail_astro_tools-1.0.
|
|
20
|
-
pz_rail_astro_tools-1.0.
|
|
21
|
-
pz_rail_astro_tools-1.0.
|
|
22
|
-
pz_rail_astro_tools-1.0.
|
|
17
|
+
rail/tools/photometry_tools.py,sha256=GdqHWoYzkbQTQoEWvkz1qNZjJbJCFgQUR39d4xuz1cI,19216
|
|
18
|
+
pz_rail_astro_tools-1.0.2.dist-info/LICENSE,sha256=tLMEN21HbzvT-7umOVVvPjaJZbQxCa-2bAeYLwG5Q04,1102
|
|
19
|
+
pz_rail_astro_tools-1.0.2.dist-info/METADATA,sha256=YooFUgTa8FAlMqG7boZeO2dQ6yaa8Gaaf7GeeYZD4xA,3947
|
|
20
|
+
pz_rail_astro_tools-1.0.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
21
|
+
pz_rail_astro_tools-1.0.2.dist-info/top_level.txt,sha256=6R6sqn-85I8YZTzmB9gv7sqckB2QaOTHbu-QLGTWBRE,5
|
|
22
|
+
pz_rail_astro_tools-1.0.2.dist-info/RECORD,,
|
rail/astro_tools/_version.py
CHANGED
rail/tools/photometry_tools.py
CHANGED
|
@@ -13,6 +13,7 @@ from ceci.config import StageParameter as Param
|
|
|
13
13
|
from rail.core.data import PqHandle
|
|
14
14
|
from rail.core.stage import RailStage
|
|
15
15
|
from rail.core.data import PqHandle, Hdf5Handle
|
|
16
|
+
from rail.core.common_params import SHARED_PARAMS
|
|
16
17
|
|
|
17
18
|
import hyperbolic # https://github.com/jlvdb/hyperbolic
|
|
18
19
|
|
|
@@ -331,7 +332,7 @@ class HyperbolicMagnitudes(PhotometryManipulator):
|
|
|
331
332
|
Input table with photometry (magnitudes or flux columns and their respective
|
|
332
333
|
uncertainties) as defined by the configuration.
|
|
333
334
|
parameters : `PqHandle`
|
|
334
|
-
Table
|
|
335
|
+
Table witdh smoothing parameters per photometric band, determined by
|
|
335
336
|
`HyperbolicSmoothing`.
|
|
336
337
|
|
|
337
338
|
Returns
|
|
@@ -420,6 +421,8 @@ class DustMapBase(RailStage):
|
|
|
420
421
|
|
|
421
422
|
config_options = RailStage.config_options.copy()
|
|
422
423
|
config_options.update(bands='ugrizy')
|
|
424
|
+
config_options.update(ra_name='ra')
|
|
425
|
+
config_options.update(dec_name='dec')
|
|
423
426
|
config_options.update(mag_name="mag_{band}_lsst")
|
|
424
427
|
config_options.update(band_a_env=[4.81,3.64,2.70,2.06,1.58,1.31])
|
|
425
428
|
config_options.update(dustmap_name='sfd')
|
|
@@ -456,7 +459,7 @@ class DustMapBase(RailStage):
|
|
|
456
459
|
def run(self):
|
|
457
460
|
data = self.get_data('input', allow_missing=True)
|
|
458
461
|
out_data = {}
|
|
459
|
-
coords = SkyCoord(data[
|
|
462
|
+
coords = SkyCoord(data[self.config.ra_name], data[self.config.dec_name], unit = 'deg',frame='fk5')
|
|
460
463
|
dust_map_dict = dict(sfd=dustmaps_sfd.SFDQuery)
|
|
461
464
|
try:
|
|
462
465
|
dust_map_class = dust_map_dict[self.config.dustmap_name]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|