SkyMapMod 0.1.11__tar.gz → 0.1.12__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.11
3
+ Version: 0.1.12
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,12 +216,14 @@ 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)
219
+ Sun_V_wl, Sun_V_fx = convolution(Sun_sp_wl, Sun_sp_fx, V_wl, V_tr) #сворачиваю с полосой V
220
+
221
+ Sun_norm = integral(Sun_V_wl, Sun_V_fx)#интегрирую спектр, photons/(m^2 sec sr)
222
+ Sun_V_fx_norm = Sun_V_fx / Sun_norm #спектр отнормирован на 1 фотон
223
+
224
+ a = np.sum(Sun_V_fx_norm)
223
225
 
224
- Sun_V_fx_norm_Vt = Sun_V_fx_norm * h * c / (Sun_V_wl * 10**(-9)) #Vt/(m^2 sec sr)
226
+ Sun_V_fx_norm_Vt = Sun_V_fx_norm * h * c / (Sun_V_wl * 10**(-9)) #перевела в мощности
225
227
  Sun = np.sum(Sun_V_fx_norm_Vt)
226
228
 
227
229
  A0_sp_wl = Sun_sp_wl #нм
@@ -235,8 +237,10 @@ def N_S10_2(Sun_sp_wl = wavelenght_newguey2003, Sun_sp_fx = flux_newguey2003, V_
235
237
  A0_V_fx = A * A0_V_fx
236
238
  A0_norm = integral(A0_V_wl, A0_V_fx)
237
239
  A0_V_fx_norm = A0_V_fx / A0_norm #photons/(m^2 sec sr)
240
+ b = np.sum(A0_V_fx_norm)
238
241
 
239
242
  A0_V_fx_norm_Vt = A0_V_fx_norm * h * c / (A0_V_wl * 10**(-9)) #Vt/(m^2 sec sr)
240
243
  A0 = np.sum(A0_V_fx_norm_Vt)
241
- N_S10_to_Sun = 100 * A0 / Sun
242
- return (N_S10_to_Sun)
244
+ N_S10_to_Sun = 100 * A0 / Sun
245
+ c = 100*b/a
246
+ return (N_S10_to_Sun, c)
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "SkyMapMod"
7
- version = "0.1.11"
7
+ version = "0.1.12"
8
8
  authors = [
9
9
  { name="Anna Amineva", email="amineva.2219@physics.msu.ru" },
10
10
  ]
File without changes
File without changes