This commit is contained in:
Roman Krivonos 2024-12-02 16:55:46 +03:00
parent f09dbb4309
commit 0503cc10ea
5 changed files with 3625 additions and 1 deletions

76
.gitignore vendored Normal file
View File

@ -0,0 +1,76 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
products/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyBuilder
.pybuilder/
target/
# Jupyter Notebook
.ipynb_checkpoints
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
*~
*#
.#*
# Astronomy
*.eps
*.cds
*.fits
*.fits.gz
*.fits.fz
*.awk
*.tex
*.evt
*.evt.gz
*.lock
*.reg
*.cross
*.ref
*.src
*.dat
*.xfm
*.log
*.tmp
*.attcorr
*.aspsol
*.txt
*.png
*.grp
*.csv
.*
*.qdp
*.pickle
!.gitignore

17
README.md Normal file
View File

@ -0,0 +1,17 @@
# A simple script to plot SRG/ART-XC L2 monitor light-curve
# step 1
install script
```
git clone http://heagit.cosmos.ru/artxc/monitor.git
```
# step 2
Dwnload SRG/ART-XC monitor CSV file from https://monitor.srg.cosmos.ru/
# step 3
insert filename to plot.py and run ```python plot.py```. Result will be saved to monitor.png

3531
default.csv Normal file

File diff suppressed because it is too large Load Diff

BIN
monitor.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@ -27,7 +27,7 @@ for axis in ['top','bottom','left','right']:
cl='black' cl='black'
df = pd.read_csv('1201-1111_bin43200_60.0-120.0_1111114944.csv',) df = pd.read_csv('default.csv',)
tm=[] tm=[]