This commit is contained in:
2024-10-31 13:56:16 +03:00
parent 09ce08e69a
commit e02db833cc
313 changed files with 126 additions and 99566 deletions

View File

@@ -1,32 +1,34 @@
Подготовка рабочего окружения:
```
source <MY PATH>/venv/bin/activate.csh
```
Номер скрипта означает последовательность выполнения. Результаты работы скриптов помещаются в ```ridge/products/```.
Don't forget to activate environment: `source <MY PATH>/venv/bin/activate`
The script number indicates the sequence of execution. The results are placed in `ridge/products/`. The corresponding shell scripts run Python code with different parameters.
### 01_bgdmodel.py / 01_bgdmodel.sh
Создает модель фона.
Calibrates IBIS/ISGRI background model
### 01_crabmodel.py / 01_crabmodel.sh
Создает модель скорости счета Краба.
Calibrates Crab detector count rate model.
### 02_grxe_resid.py / 01_grxe_resid.sh
Вычисляет остатки после вычитания модели из данных в единицах мКраб.
Calculates difference between detector count rate and that predicted by background model in mCrab units for `GAL` (Galaxy), `BKG` (Extragalactic), or `ALL` (all-sky) regions.
### 02_grxe_map.py / 01_grxe_map.sh
Создает карту остатков в единицах мКраб.
Makes the map of the residuals in mCrab units (not covered in the paper).
### 03_grxe_spec.py
Создает спектр выбранного региона неба, например:
Extract spectrum of selected sky region, e.g.:
```./03_grxe_spec.py GC``` или ```./03_grxe_spec.py M81```
```./03_grxe_spec.py GC``` or ```./03_grxe_spec.py M81```
Регионы неба задаются в ```config.py```. Спектры помещаются в директорию ```./products/spec```. Затем надо перейти в эту директорию и выполнить, например: ```perl ../../scripts/do_pha_igr_v3_mCrab.pl M81.spec```.
If you do not specify the sky region, the script makes spectra for all regions.
Sky regions are defined in ```config.py```.
Spectra are stored in `./products/Spec`. After spectra files are ready, go to directory `./products/Spec` and run ```perl ../../scripts/do_pha_igr_v3_mCrab.pl M81.spec```.
Если не задать регион неба, скрипт делает спектры для всех регионов.