sparclclient 1.3.0b1__py2.py3-none-any.whl → 1.3.0b2__py2.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.
- sparcl/__init__.py +1 -1
- sparcl/specutils.py +2 -2
- {sparclclient-1.3.0b1.dist-info → sparclclient-1.3.0b2.dist-info}/METADATA +1 -1
- {sparclclient-1.3.0b1.dist-info → sparclclient-1.3.0b2.dist-info}/RECORD +6 -6
- {sparclclient-1.3.0b1.dist-info → sparclclient-1.3.0b2.dist-info}/LICENSE +0 -0
- {sparclclient-1.3.0b1.dist-info → sparclclient-1.3.0b2.dist-info}/WHEEL +0 -0
sparcl/__init__.py
CHANGED
sparcl/specutils.py
CHANGED
|
@@ -227,7 +227,7 @@ def to_Spectrum(results, *, collection=False):
|
|
|
227
227
|
|
|
228
228
|
# Prepare arguments common to both Spectrum and SpectrumCollection
|
|
229
229
|
common_args = {
|
|
230
|
-
'flux': flux *
|
|
230
|
+
'flux': flux * u.Unit('10**-17 erg cm-2 s-1 AA-1'),
|
|
231
231
|
'spectral_axis': spectral_axis * u.AA,
|
|
232
232
|
'uncertainty': InverseVariance(uncertainty),
|
|
233
233
|
'mask': mask,
|
|
@@ -266,7 +266,7 @@ def to_SpectrumList(results):
|
|
|
266
266
|
if attribute not in ('flux', 'wavelength', 'ivar',
|
|
267
267
|
'redshift', 'mask'):
|
|
268
268
|
meta[attribute] = r[attribute]
|
|
269
|
-
s1 = Spectrum(flux=r.flux*
|
|
269
|
+
s1 = Spectrum(flux=r.flux*u.Unit('10**-17 erg cm-2 s-1 AA-1'),
|
|
270
270
|
spectral_axis=r.wavelength*u.AA,
|
|
271
271
|
uncertainty=InverseVariance(r.ivar),
|
|
272
272
|
redshift=redshift,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
sparcl/Results.py,sha256=IlnYZrDddARv3PJ3HPcyHJwTdMroqGdw-eaSrbmAA64,9290
|
|
2
|
-
sparcl/__init__.py,sha256=
|
|
2
|
+
sparcl/__init__.py,sha256=akq-_0bDWSDTnmS3BZ827HTpiWKYYRO8qtlOpXd4ax8,1193
|
|
3
3
|
sparcl/client.py,sha256=OAY9F1KbyVc5kos7twqOFnQcGtoqraNG6-CJWqmVE3o,39976
|
|
4
4
|
sparcl/conf.py,sha256=GFNDelaiVIAkjNjvFlG7HAlPpU39nqZmTPohQGmOcgI,928
|
|
5
5
|
sparcl/exceptions.py,sha256=sznmOMGENHvxutSXlRVWqi87bR2Qiebka7LyR3mAII0,4244
|
|
@@ -7,7 +7,7 @@ sparcl/fields.py,sha256=NZUBqDidpbXfeX5F4b306F323xZY2CRIx8eVv-HWTVU,5127
|
|
|
7
7
|
sparcl/gather_2d.py,sha256=YTFVQl38dRZjUu0AEUFVZtQm7zC8mU3LVvUTDGxp6u8,8722
|
|
8
8
|
sparcl/resample_spectra.py,sha256=nk5HiyaGF-b9SiTmIC9yJBbYX4VYsiLFHyW186bPs2s,1310
|
|
9
9
|
sparcl/sparc.ini,sha256=q_wjo9DLnCYRxWFMl0CtMYp4DD1AXfEcK6BP6cmncwo,329
|
|
10
|
-
sparcl/specutils.py,sha256=
|
|
10
|
+
sparcl/specutils.py,sha256=QUwlx0bsxEdG50WQ5Fp3uLvDsoDKg5Zl5Te-xnIVRDs,10968
|
|
11
11
|
sparcl/type_conversion.py,sha256=QmXNX9j_7QHnBu83f2ZBfREoql9wuo98ZbhQtSjRRWc,12965
|
|
12
12
|
sparcl/unsupported.py,sha256=bfkkZa-PuqwN-Bqo3vCIrLupbWMDTCiTHPMNfXnqmMc,1848
|
|
13
13
|
sparcl/utils.py,sha256=pDAk9roe7ezfVohnKcLMxFjjXHkp7EQLbgVNe5sSTrk,6259
|
|
@@ -16,7 +16,7 @@ sparcl/benchmarks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
|
|
|
16
16
|
sparcl/benchmarks/benchmarks.py,sha256=OmlSdnAPLmcvGXsr-HzGyfAAcnoqlO0JQ4EIA7JGhZc,9424
|
|
17
17
|
sparcl/benchmarks/sparcl_benchmarking.ipynb,sha256=gwof2hqM9Qb49qzRX-mky7WNqXZCMSB7ry8bX8dImxc,17559
|
|
18
18
|
sparcl/notebooks/sparcl-examples.ipynb,sha256=gEwMKI1x7A1YsVeCsQn1QoMO0ZuIhMUAu3qedTiQ7hM,169268
|
|
19
|
-
sparclclient-1.3.
|
|
20
|
-
sparclclient-1.3.
|
|
21
|
-
sparclclient-1.3.
|
|
22
|
-
sparclclient-1.3.
|
|
19
|
+
sparclclient-1.3.0b2.dist-info/LICENSE,sha256=y10EluGMCzGs9X4oYCYyix3l6u-lawB_vlGR8qe442Q,1576
|
|
20
|
+
sparclclient-1.3.0b2.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
|
|
21
|
+
sparclclient-1.3.0b2.dist-info/METADATA,sha256=_fYIDfWnBvAOom0dDYuB1G_5zK3WxNXDzEAJYyNpKMg,677
|
|
22
|
+
sparclclient-1.3.0b2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|