SkyMapMod 0.1.8__tar.gz → 0.1.10__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.4
2
2
  Name: SkyMapMod
3
- Version: 0.1.8
3
+ Version: 0.1.10
4
4
  Summary: for modeling
5
5
  Project-URL: Homepage, https://istina.msu.ru/profile/aminevann/
6
6
  Author-email: Anna Amineva <amineva.2219@physics.msu.ru>
@@ -216,18 +216,27 @@ def zodiacal_spectrum(lmbd, beta, lmbd_sun, Sun_sp_wl = wavelenght_newguey2003,
216
216
  def N_S10_2(Sun_sp_wl = wavelenght_newguey2003, Sun_sp_fx = flux_newguey2003, V_wl = wavelenght_band_V, V_tr = trancparency_band_V, T_A0 = 9800):
217
217
  h = 6.63e-34
218
218
  c = 3e8
219
+ Sun_V_wl, Sun_V_fx = convolution(Sun_sp_wl, Sun_sp_fx, V_wl, V_tr)
220
+
221
+ Sun_norm = integral(Sun_V_wl, Sun_V_fx)
222
+ Sun_V_fx_norm = Sun_V_fx / Sun_norm #photons/(m^2 sec sr)
223
+
224
+ Sun_V_fx_norm_Vt = Sun_V_fx_norm * h * c / (Sun_V_wl * 10**(-9)) #Vt/(m^2 sec sr)
225
+ Sun = np.sum(Sun_V_fx_norm_Vt)
226
+
219
227
  A0_sp_wl = Sun_sp_wl #нм
220
228
  A0_sp_fx = black_body_phot(A0_sp_wl, T_A0) #фот/ (м^2 ср сек м)
221
- A0_V_wl, A0_V_fx = convolution(A0_sp_wl, A0_sp_fx, V_wl, V_tr) #нм, фот / (м^2 сек ср м), стерадианы уйдут при нормировке
222
-
223
- A0_V_fx = A0_V_fx / (integral(A0_V_wl * 10**(-9), A0_V_fx)) #беру спектр и нормирую его на общее количество фотонов под спектром
224
- #на выходе: фот / (м^2 сек ср)
225
229
 
226
- Sun_V_wl, Sun_V_fx = convolution(Sun_sp_wl, Sun_sp_fx, V_wl, V_tr) #нм, фот / (м^2 сек ср нм)
227
-
228
- Sun_V_fx = Sun_V_fx / (integral(Sun_V_fx, Sun_V_wl)) #на выходе: фот / (м^2 сек ср)
229
-
230
- mean_A0 = np.sum(A0_V_fx * h * c / A0_V_wl * 1e9) # Вт / (м^2 ср)
231
- mean_Sun = np.sum(Sun_V_fx * h * c / Sun_V_wl * 1e9) # Вт / (м^2 ср)
232
- N_S10_to_Sun = 100 * mean_A0 / mean_Sun
230
+ A0_V_wl, A0_V_fx = convolution(A0_sp_wl, A0_sp_fx, V_wl, V_tr)
231
+ norm_S10 = integral(A0_V_wl * 10**(-9), A0_V_fx)
232
+
233
+ A = 100/norm_S10
234
+
235
+ A0_V_fx = A * A0_V_fx
236
+ A0_norm = integral(A0_V_wl, A0_V_fx)
237
+ A0_V_fx_norm = A0_V_fx / A0_norm #photons/(m^2 sec sr)
238
+
239
+ A0_V_fx_norm_Vt = A0_V_fx_norm * h * c / (A0_V_wl * 10**(-9)) #Vt/(m^2 sec sr)
240
+ A0 = np.sum(A0_V_fx_norm_Vt)
241
+ N_S10_to_Sun = 100 * A0 / Sun
233
242
  return (N_S10_to_Sun)
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "SkyMapMod"
7
- version = "0.1.8"
7
+ version = "0.1.10"
8
8
  authors = [
9
9
  { name="Anna Amineva", email="amineva.2219@physics.msu.ru" },
10
10
  ]
File without changes
File without changes