SkyMapMod 0.2.4__py3-none-any.whl → 0.2.5__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.
- SkyMapMod/total_background.py +17 -16
- {skymapmod-0.2.4.dist-info → skymapmod-0.2.5.dist-info}/METADATA +1 -1
- {skymapmod-0.2.4.dist-info → skymapmod-0.2.5.dist-info}/RECORD +5 -5
- {skymapmod-0.2.4.dist-info → skymapmod-0.2.5.dist-info}/WHEEL +0 -0
- {skymapmod-0.2.4.dist-info → skymapmod-0.2.5.dist-info}/licenses/LICENSE +0 -0
SkyMapMod/total_background.py
CHANGED
@@ -226,65 +226,66 @@ def total_background(l, b, date, time, Sun_sp_wl = wavelenght_newguey2003, Sun_s
|
|
226
226
|
lmbd, beta = galactic_to_equatorial(l, b)
|
227
227
|
#получаем спектр зодиакального света (нм, фот / (м^2 сек нм ср))
|
228
228
|
zodiac_wl, zodiac_spec = zodiacal_spectrum(lmbd, beta, lmbd_Sun, Sun_sp_wl, Sun_sp_fx, V_wl, V_tr)
|
229
|
-
|
230
|
-
|
229
|
+
#учитываем cos(b)
|
230
|
+
zodiac_spec = zodiac_spec * cos(b)
|
231
|
+
|
231
232
|
|
232
233
|
#собственное свечение достаем
|
233
234
|
airglow_wl, airglow_spec = airglow_spectrum(wavelenght_airglow, intensity_airglow, wavelenght_atmosphere_kp, transparency_atmosphere_kp)
|
234
|
-
|
235
|
+
#учитываем cos(b)
|
236
|
+
airglow_spec = airglow_spec * cos(b)
|
237
|
+
|
235
238
|
|
236
239
|
# return(airglow_wl, airglow_spec)
|
237
240
|
#зод. свет и собств. свечение -- окей. Нужно допилить звездные каталоги и планеты.
|
238
241
|
|
239
|
-
#звездные каталоги
|
242
|
+
#звездные каталоги -- тут cos(b) учитывался еще на этапе аппроксимации
|
240
243
|
star_cat_wl = zodiac_wl
|
241
244
|
star_cat_spec = star_spectrum(l, b, star_cat_wl)
|
242
|
-
|
245
|
+
|
243
246
|
# return star_cat_wl, star_cat_spec
|
244
247
|
|
245
|
-
#планеты
|
248
|
+
#планеты -- считаются точечными, cos(b) не учитываем
|
246
249
|
#Венера
|
247
250
|
venus_l, venus_b = coordinates_of_planet('venus', date, time)
|
248
|
-
print('Техническая проверка координат Венеры:', round(venus_l, 1), round(venus_b, 1))
|
249
251
|
if round(venus_l, 1) == l and round(venus_b, 1) == b:
|
250
252
|
venus_wl, venus_sp = venus_spectrum(date, time, Sun_sp_wl, Sun_sp_fx, venus_albedo_wl, venus_albedo_rf, V_wl, V_tr)
|
251
253
|
else:
|
252
254
|
venus_wl = zodiac_wl
|
253
255
|
venus_sp = np.zeros(venus_wl.shape[0])
|
254
|
-
|
256
|
+
|
255
257
|
|
256
258
|
#Марс
|
257
259
|
mars_l, mars_b = coordinates_of_planet('mars', date, time)
|
258
|
-
|
260
|
+
|
259
261
|
if round(mars_l, 1) == l and round(mars_b, 1) == b:
|
260
262
|
mars_wl, mars_sp = mars_spectrum(date, time, Sun_sp_wl, Sun_sp_fx, mars_albedo_wl, mars_albedo_rf, V_wl, V_tr)
|
261
263
|
else:
|
262
264
|
mars_wl = zodiac_wl
|
263
265
|
mars_sp = np.zeros(mars_wl.shape[0])
|
264
|
-
|
266
|
+
|
265
267
|
|
266
268
|
#Юпитер
|
267
269
|
jupiter_l, jupiter_b = coordinates_of_planet('jupiter', date, time)
|
268
|
-
|
270
|
+
|
269
271
|
if round(jupiter_l, 1) == l and round(jupiter_b, 1) == b:
|
270
272
|
jupiter_wl, jupiter_sp = jupiter_spectrum(date, time, Sun_sp_wl, Sun_sp_fx, jupiter_albedo_wl, jupiter_albedo_rf, V_wl, V_tr)
|
271
273
|
else:
|
272
274
|
jupiter_wl = zodiac_wl
|
273
275
|
jupiter_sp = np.zeros(jupiter_wl.shape[0])
|
274
|
-
|
276
|
+
|
275
277
|
|
276
278
|
#Сатурн
|
277
279
|
saturn_l, saturn_b = coordinates_of_planet('saturn', date, time)
|
278
|
-
|
280
|
+
|
279
281
|
if round(saturn_l, 1) == l and round(saturn_b, 1) == b:
|
280
282
|
saturn_wl, saturn_sp = saturn_spectrum(date, time, Sun_sp_wl, Sun_sp_fx, saturn_albedo_wl, saturn_albedo_rf, V_wl, V_tr)
|
281
283
|
else:
|
282
284
|
saturn_wl = zodiac_wl
|
283
285
|
saturn_sp = np.zeros(saturn_wl.shape[0])
|
284
|
-
|
286
|
+
|
285
287
|
|
286
|
-
|
287
|
-
#делаю на основе функции sum_of_spectrums
|
288
|
+
#суммирование спектров
|
288
289
|
zod_air_wl, zod_air_sp = sum_of_spectrums(zodiac_wl, zodiac_spec, airglow_wl, airglow_spec)
|
289
290
|
|
290
291
|
z_a_s_wl, z_a_s_sp = sum_of_spectrums(zod_air_wl, zod_air_sp, star_cat_wl, star_cat_spec)
|
@@ -7,7 +7,7 @@ SkyMapMod/planets.py,sha256=AN_H2MulL6p8dS144hW93YSdFB-u5HGGAGjr9Sp69Fc,28458
|
|
7
7
|
SkyMapMod/solar_radio_flux.py,sha256=I02O6Mltv3lfqxif3BHUNAzeElQ5AZax_2L09A3cXb8,842
|
8
8
|
SkyMapMod/solar_spectrum.py,sha256=LjBPSTI6Yq86pwF7haUja7RjRYH4C8HZL8SjyI7zp6g,24433
|
9
9
|
SkyMapMod/star_catalogues.py,sha256=-JGHE3m6NCg4Ea57ZR6RuxfftkPJyjJHOaU5Wf7qvRc,4102
|
10
|
-
SkyMapMod/total_background.py,sha256=
|
10
|
+
SkyMapMod/total_background.py,sha256=KkK-cJx5xKLz6zEzULooiFTQ1aSKpfQJGX3haoXwuJ4,34979
|
11
11
|
SkyMapMod/transparency.py,sha256=HiSbbVX80neh3n284f64sWnrbxpRzPGKvFyid9sVo7I,376
|
12
12
|
SkyMapMod/zodiac.py,sha256=o--fsj0eOyP8evy3zLtsMEFSeWVUneEF8YTypIcs5xw,40616
|
13
13
|
SkyMapMod/data/__init__.py,sha256=_292qgM72hPa2vxDNSaI9QvPunvi-aSXUsZki99q63o,83
|
@@ -16,7 +16,7 @@ SkyMapMod/data/load_data.py,sha256=5kivqnVGu6XmMjm8f7JGteoSH_gsZjQVC5SPWPSiq5M,1
|
|
16
16
|
SkyMapMod/data/star_brightness.npy,sha256=1ZSWvCMNPe8cAxulk3H7z83IuvQTeTssWyzxuCTuL40,51840128
|
17
17
|
SkyMapMod/data/star_temperatures.npy,sha256=wDDRGmRbGN0ZO9mWs_Es925T9vrVcVXf_ki-vAluE2w,51840128
|
18
18
|
SkyMapMod/data/wavelenght_kp.npy,sha256=baZkBKErnNgFOyR06rSVx6bQJqZx_4ntZcDaHbeY_h4,55496
|
19
|
-
skymapmod-0.2.
|
20
|
-
skymapmod-0.2.
|
21
|
-
skymapmod-0.2.
|
22
|
-
skymapmod-0.2.
|
19
|
+
skymapmod-0.2.5.dist-info/METADATA,sha256=pqreQQjtgUZfgGGc4f4NATMRfBWJqOw2xd2foUju5T8,468
|
20
|
+
skymapmod-0.2.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
21
|
+
skymapmod-0.2.5.dist-info/licenses/LICENSE,sha256=eShhW1a77wkzEW9UASG0IaNNaJ3vnxmpcxp8tXh5WCA,1045
|
22
|
+
skymapmod-0.2.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|