SkyMapMod 0.0.17__tar.gz → 0.0.18__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.3
2
2
  Name: SkyMapMod
3
- Version: 0.0.17
3
+ Version: 0.0.18
4
4
  Project-URL: Homepage, https://istina.msu.ru/profile/aminevann/
5
5
  Author-email: Anna Amineva <amineva.2219@physics.msu.ru>
6
6
  License-File: LICENSE
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "SkyMapMod"
7
- version = "0.0.17"
7
+ version = "0.0.18"
8
8
  authors = [
9
9
  { name="Anna Amineva", email="amineva.2219@physics.msu.ru" },
10
10
  ]
@@ -187,7 +187,7 @@ def zodiacal_spectrum(lmbd, beta, lmbd_sun, Sun_sp_wl = wavelenght_newguey2003,
187
187
  N_S10_to_Sun = N_S10(Sun_sp_wl, Sun_sp_fx, V_wl, V_tr, T_A0)
188
188
  N_phot = round(S10 * N_S10_to_Sun)
189
189
  probabilities = Sun_sp_fx / np.sum(Sun_sp_fx) #или все-таки нормируем на интеграл?
190
- counts = np.zeros(Sun_sp_wl)
190
+ counts = np.zeros(Sun_sp_wl.shape[0])
191
191
  for i in range(N_phot):
192
192
  spectrum = random.choices(Sun_sp_wl, weights=probabilities)
193
193
  counts[np.where(Sun_sp_wl == spectrum)[0][0]] += 1
File without changes
File without changes