Praktikum

= notes =

qsub -I -l nodes=1:ppn=8,mem=12gb,scratch=500gb module available module add heasoft-6.15 #zalezi na poradi module add ciao-4.6 PFILES="/storage/budejovice1/home/mkocka/pfiles;/software/ciao-4.6/param:/software/ciao-4.6/contrib/param:/software/heasoft-6.15/x86_64-unknown-linux-gnu/syspfiles/" export PFILES cp -R /storage/brno2/home/mkocka/data/chandra/crab/772. ftlist acisf00772N005_evt2.fits.gz

ln -s acisf00772N005_evt2.fits.gz inp.fits.gz ftlist 'inp.fits.gz[EVENTS]' T rows=1-20 columns=x ftlist 'inp.fits.gz[EVENTS]' T rows=1-20 columns="x,y"

ftcopy 'inp.fits.gz[bin time=1:1024:2]' out.fits ftcopy 'inp.fits.gz[EVENTS][bin (x,y)=4000:4300:2]' out.fits ftcopy 'inp.fits[EVENTS][regfilter("bh.reg")]' out_reg.fits

for i in `find /storage/brno2/home/mkocka/data/chandra/crab/ -name "*evt2*"` ; do ftlist $i[1] K include='EXPOSURE' ; done

Získanie spektra, moje sa nachádza v /storage/praha1/home/mkocka/work2/spec specextract "acis_reproj_13150_reproj_evt.fits[sky=region(hard_regionjet.reg)]" bkgfile="acis_reproj_13150_reproj_evt.fits[sky=region(hard_bg.reg)]" outroot="spec/13150" grouptype=NUM_CTS binspec=10 bkg_grouptype=NUM_CTS bkg_binspec=10

zobrazenie spektra, ssh -X na skirit, module add heasoft-6.15 cd "vas_adresar"/spec xspec XSPEC12>cpd /xw XSPEC12>data /storage/brno2/home/mkocka/work2/spec/13150.pi XSPEC12>setplot energy XSPEC12>plot ld XSPEC12>plot d

Výroba farebného obrázku: dmcopy infile="acisf00772N005_evt2.fits.gz[energy=200:1500][bin x=4000:4300,y=4000:4300]" outfile=soft_img.fits

dmcopy infile="acisf00772N005_evt2.fits.gz[energy=1500:2500][bin x=4000:4300,y=4000:4300]" outfile=medium_img.fits

dmcopy infile="acisf00772N005_evt2.fits.gz[energy=2500:8000][bin x=4000:4300,y=4000:4300]" outfile=hard_img.fits

ds9 -rgb -red soft_img.fits -green medium_img.fits -blue hard_img.fits

https://heasarc.gsfc.nasa.gov/ftools/headas/ftcopy.html https://heasarc.gsfc.nasa.gov/ftools/caldb/help/ftcopy.html

http://cxc.harvard.edu/ciao/threads/true_color/