Astronomska skupina Fakultete za matematiko in fizilo Univerze v Ljubljani
Teleskop Vega

Dokument.Svinjarije History

Hide minor edits - Show changes to output

11.09.2014 11:49 CEST by 88.200.49.66 -
Added lines 28-30:
'''Lep izpis koordinat iz glave slike'''

$ hexdump -e '80/1 "%_p" "\n"' slika.fts | egrep 'CRPIX|CRVAL|CTYPE|CD[12]_[12]'
24.04.2009 14:00 CEST by 193.2.110.238 -
Added lines 137-139:
# odstevanje fitane premice
fit [80:180][*:*] a*x+b "vega_mem.log" using 1:3 via a,b
plot [80:178][-100:100] "vega_mem.log" using 1:(($3-a*$1-b)*3600) w l;
30.03.2009 15:01 CEST by 193.2.110.238 -
Changed lines 8-12 from:
* da prikazuje slike 4096x4096 vpisi v login.cl v domaci mapi:

set stdimage = imt6

* da prepozna slike narejene z Apogge Alta ap16. Naprimer v ukazu 'setinstrument'. Dodaj datoteko ap16e.dat:
to:
da prikazuje slike 4096x4096 vpisi v login.cl v domaci mapi:

set stdimage = imt6

da prepozna slike narejene z Apogge Alta ap16. Naprimer v ukazu 'setinstrument'. Dodaj datoteko ap16e.dat:
30.03.2009 15:01 CEST by 193.2.110.238 -
Changed lines 8-12 from:
da prepozna slike narejene z Apogge Alta ap16. Naprimer v ukazu 'setinstrument'. Dodaj datoteko ap16e.dat:
to:
* da prikazuje slike 4096x4096 vpisi v login.cl v domaci mapi:

set stdimage = imt6

* da prepozna slike narejene z Apogge Alta ap16. Naprimer v ukazu 'setinstrument'. Dodaj datoteko ap16e.dat:
30.03.2009 14:59 CEST by 193.2.110.238 -
Changed line 8 from:
da prepozna slike narejene z Apogge Alta ap16. Dodaj datoteko ap16e.dat:
to:
da prepozna slike narejene z Apogge Alta ap16. Naprimer v ukazu 'setinstrument'. Dodaj datoteko ap16e.dat:
30.03.2009 14:59 CEST by 193.2.110.238 -
Changed lines 8-9 from:
da prepozna slike narejene z Apogge Alta ap16. Dodaj datoteko ap16e.dat
to:
da prepozna slike narejene z Apogge Alta ap16. Dodaj datoteko ap16e.dat:
Added line 21:
30.03.2009 14:58 CEST by 193.2.110.238 -
Changed line 20 from:
ap16e AGO camera AP16E image header
to:
ap16e AGO camera [=AP16E=] image header
30.03.2009 14:58 CEST by 193.2.110.238 -
Added lines 4-21:


'''Popravek za iraf'''

da prepozna slike narejene z Apogge Alta ap16. Dodaj datoteko ap16e.dat
exptime exptime
darktime exptime
imagetyp imagetyp
subset filter
otime ut-cent
'object ' object
'dark ' dark
'zero ' zero
'flat ' flat

v mapo /iraf/iraf/noao/imred/ccdred/ccddb/kpno in se dodaj v datoteko instruments.mem na konec:
ap16e AGO camera AP16E image header
20.02.2009 11:59 CET by 193.2.110.238 -
Changed lines 55-57 from:
wget "http://archive.eso.org/skycat/servers/ASTROM_res?catalogue=ASTROM_cat&\\epoch=2000.0&cchart=0&ra=&dec=&object=M+67&CAT=TYC2&format=2&radmax=40" -O - | grep "^[0-9]" > M67_katalog_tyc2.dat
to:
wget "http://archive.eso.org/skycat/servers/ASTROM_res?catalogue=ASTROM_cat&
epoch=2000.0&cchart=0&ra=&dec=&object=M+67&CAT=TYC2&format=2
&radmax=40" -O - | grep "^[0-9]" > M67_katalog_tyc2.dat
20.02.2009 11:58 CET by 193.2.110.238 -
Changed line 55 from:
wget "http://archive.eso.org/skycat/servers/ASTROM_res?catalogue=ASTROM_cat&epoch=2000.0&cchart=0&ra=&dec=&object=M+67&CAT=TYC2&format=2&radmax=40" -O - | grep "^[0-9]" > M67_katalog_tyc2.dat
to:
wget "http://archive.eso.org/skycat/servers/ASTROM_res?catalogue=ASTROM_cat&\\epoch=2000.0&cchart=0&ra=&dec=&object=M+67&CAT=TYC2&format=2&radmax=40" -O - | grep "^[0-9]" > M67_katalog_tyc2.dat
20.02.2009 11:57 CET by 193.2.110.238 -
Changed line 7 from:
Ce snemas o Oknih in postavis v ime slike presledek, potem iraf te slike ne odpira pravilno, nastane in cela stala. Zato je resitev da preimenujes v linux konzoli:
to:
Ce snemas o Oknih in postavis v ime slike presledek, potem iraf te slike ne odpira pravilno, nastane in cela stala. Zato je resitev da preimenujes v linux konzoli, pazi presledek je v unixu kontrolni znak, separator, zato se tipka kot \<space> :
20.02.2009 11:54 CET by 193.2.110.238 -
Added lines 4-9:

'''Slaba imena slik v Oknih'''

Ce snemas o Oknih in postavis v ime slike presledek, potem iraf te slike ne odpira pravilno, nastane in cela stala. Zato je resitev da preimenujes v linux konzoli:

$ mv Venera\ I1.fit Venera-I1.fit
05.02.2008 14:04 CET by bd -
Added lines 5-9:
'''Hiter prikaz fits slike'''

cat test208.fts | xpaset ds9 fits

31.01.2008 11:19 CET by bd -
Changed lines 59-64 from:
to:
'''Jpeg slike pretvori v fits'''
jpegtopnm slika.jpg | pnmtofits - > slika.fts
#slike so 3D, v irafu naredim razrez:
imslice slika.fts 3
#dobim tri fits slike za barve R,G,B
05.12.2007 14:48 CET by bd -
Changed lines 31-33 from:
# isto kot gor, hitreje ampak pazi na da ne prekoraci obseg
chpix
to:
# isto kot gor, hitreje ampak pazi da ne prekoraci obseg
# v irafu
chpix 17P-master*.fit 17P-master*.fit//u newpixty=ushort
05.12.2007 14:45 CET by bd -
Changed lines 30-33 from:
to:
'''Pretvori numericni zapis slike'''
# isto kot gor, hitreje ampak pazi na da ne prekoraci obseg
chpix
13.07.2007 13:18 CEST by bd -
Changed lines 42-43 from:

to:
'''Katalog spremenljivk v kopicah'''
[[http://www.astro.utoronto.ca/~cclement/cat/listngc.html]]
22.05.2006 13:35 CEST by bd -
Added lines 5-9:
'''Naredi manjse slike - binning'''

blkavg *.fts *.fts//.b 4 4

25.12.2005 02:56 CET by bd -
Changed line 53 from:
'''Za vzorec vseaka 155 slika v mapo tmp'''
to:
'''Za vzorec vsaka 155ta slika v mapo tmp'''
25.12.2005 02:55 CET by bd -
Added lines 53-55:
'''Za vzorec vseaka 155 slika v mapo tmp'''
cp `ls -t1 *fts.gz | awk 'NR%155==1'` tmp
14.10.2005 10:52 CEST by bd -
Changed line 12 from:
# nove distribucije linuxa imago zaradi varnosti vgrajeno omejitev sklada,
to:
# nove distribucije linuxa imajo zaradi varnosti vgrajeno omejitev sklada,
14.10.2005 10:51 CEST by bd -
Changed lines 12-13 from:
# gre v profile
to:
# nove distribucije linuxa imago zaradi varnosti vgrajeno omejitev sklada,
# naredimo neomejen, v lupini ali v profile se vnese
14.10.2005 10:48 CEST by bd -
Changed line 10 from:
'''Iraf & Fedora"""
to:
'''Iraf & Fedora'''
14.10.2005 10:48 CEST by bd -
Changed line 5 from:
'''Patch za iraf da dela z fts slikami'''
to:
'''Pljunek za iraf da dela z fts slikami'''
Changed lines 9-11 from:
pa se to:
to:

'''Iraf & Fedora"""
# za jedro 2.6 ce iraf sporoca 'memory corrupted' je fix to:
13.10.2005 17:57 CEST by 193.2.110.236 -
Changed lines 9-13 from:
to:
pa se to:
# gre v profile
ulimit -s unlimited

13.10.2005 16:55 CEST by 193.2.110.236 -
Added lines 5-9:
'''Patch za iraf da dela z fts slikami'''
V login.cl se vnese:
set imtype = "fts"
set imextn = "oif:imh fxf:fts,fits,fit plf:pl qpf:qp stf:hhh,??h"
30.08.2005 12:08 CEST by 193.2.110.235 -
Changed lines 148-149 from:
export CVSROOT=:ext:user@host.shit.si:/cvsroot
cvs -d cvsukaz
to:
cvs -d :ext:user@host:/usr/local/cvsroot cvsukazi
30.08.2005 11:39 CEST by 193.2.110.235 -
Added lines 145-149:

'''csv preko ssh kanala'''
export CVS_RSH=ssh
export CVSROOT=:ext:user@host.shit.si:/cvsroot
cvs -d cvsukaz
25.07.2005 10:49 CEST by bd -
Changed lines 5-6 from:
'''Pretvori 32bitna jajca v 16bitna'''
# v irafu
to:
'''Pretvori 32bitne slike v 16bitne'''
# v irafu, ce podaljsek iz fits v fts
wfits *.fits *%.fits%% fextn="fts" bitpix=16 autosca=no bzero=32768 bscale=1
# sicer naredim novo ime in potem preimenujem
18.07.2005 12:21 CEST by bd -
Changed lines 9-11 from:
for i in *.fts;do j=`echo $i|sed -e 's/\.1//'`;mv $i $j;done

to:
for i in *.fts;do j=$(echo $i|sed -e 's/\.1//');mv $i $j;done

18.07.2005 12:20 CEST by bd -
Changed lines 8-9 from:

to:
# umaknem originale in preimenujem datoteke v
for i in *.fts;do j=`echo $i|sed -e 's/\.1//'`;mv $i $j;done

16.07.2005 13:48 CEST by bd -
Changed line 6 from:
# v irafu
to:
# v irafu
16.07.2005 13:47 CEST by bd -
Added lines 5-9:
'''Pretvori 32bitna jajca v 16bitna'''
# v irafu
wfits *.fts *.fts//.16 fextn="fts" bitpix=16 autosca=no bzero=32768 bscale=1

13.07.2005 12:31 CEST by bd -
Added lines 99-101:
'''Kontrola istovetnosti datotek'''
md5sum -c blablabla.md5sum
09.05.2005 14:11 CEST by 193.2.110.227 -
Added lines 5-12:
'''Risanje odziva teleskopa'''
# v gnuplotu
plot [*:*][*:55] "vega.log" using ($2):($12) title "TARCA" with lines,
"vega.log" using ($2):($4) title "TELESKOP" with lines 3,
"vega.log" using ($2):($7) title "FREKVENCA" with lines 4,
"vega.log" using ($2):($6) title "DELTA" with lines 5

03.05.2005 12:31 CEST by bd -
Added line 105:
cd ser
Changed lines 107-108 from:
to:

03.05.2005 11:58 CEST by bd -
Added lines 104-106:
'''Vnese nov projekt v CVS'''
cvs import -m "Servisni programi za teleskop VEGA" vega/servis bd start
24.04.2005 20:12 CEST by bd -
Changed line 5 from:
'''Hitro do kataloga'''
to:
'''Hitro do kataloga Tycho 2'''
Added lines 8-9:

24.04.2005 20:07 CEST by bd -
Added lines 5-7:
'''Hitro do kataloga'''
wget "http://archive.eso.org/skycat/servers/ASTROM_res?catalogue=ASTROM_cat&epoch=2000.0&cchart=0&ra=&dec=&object=M+67&CAT=TYC2&format=2&radmax=40" -O - | grep "^[0-9]" > M67_katalog_tyc2.dat
23.04.2005 22:09 CEST by bd -
Changed lines 109-114 from:
for i in m3-*.fts;do printf $i\ ;buffers $i fits=JD | awk '{print $3}';done > casi.txt
to:
for i in m3-*.fts;do printf $i\ ;buffers $i fits=JD | awk '{print $3}';done > casi.txt


'''Ce pomotoma izbrisem jajca, se ni vsega konec'''
# pobere ven iz backupa
tar -xvf 2005-04-22-all-daily.tar home/vegas/net
18.04.2005 11:34 CEST by bd -
Added lines 5-8:
'''Zrcaljenje slike v jpeg formatu'''
jpegtran -flip horizontal test.jpg > test-flip.jpg

Changed lines 10-11 from:
for i in *.CR2;
do j=$(echo $i | sed -e 's/.CR2//');
to:
for i in *.cr2;
do j=$(echo $i | sed -e 's/.cr2//');
14.04.2005 12:00 CEST by bd -
Changed lines 5-11 from:
to:
'''Raw slike iz Canona 20D prevede v fits'''
for i in *.CR2;
do j=$(echo $i | sed -e 's/.CR2//');
dcraw -4 -c $i | pnmtofits - > $j.fts;
done

26.03.2005 00:21 CET by bd -
Changed line 98 from:
'''Casi posnetkov so se izgubili, fix'''
to:
'''Casi posnetkov so se izgubili, popravi'''
26.03.2005 00:20 CET by bd -
Added lines 98-99:
'''Casi posnetkov so se izgubili, fix'''
for i in m3-*.fts;do printf $i\ ;buffers $i fits=JD | awk '{print $3}';done > casi.txt
18.03.2005 21:05 CET by bd -
Changed lines 89-90 from:

to:
'''Naredi novo vejo programa v CVS'''
# branching 2->3
cvs tag rel-2-0 .
cvs tag -b rel-3-0

# urejanje
cvs checkout -r rel-3-0
cvs update -r rel-3-0
18.02.2005 19:15 CET by bd -
Changed line 9 from:
'''Pretvori v majhne crke'''
to:
'''Pretvori v majhne &#269;rke'''
Changed line 14 from:
'''Preimenovanje koncnice'''
to:
'''Preimenovanje kon&#269;nice'''
18.02.2005 19:14 CET by bd -
Changed lines 1-5 from:
! Umazani carovniski triki

Na tej strani brez razlage dokumentiramo razne ''hekerske carovnije''

to:
! Umazani &#269;arovniski triki

Na tej strani brez razlage dokumentiramo razne ''hekerske &#269;arovnije''

18.02.2005 12:36 CET by bd -
Changed line 73 from:
'''Priklop iso slike'''
to:
'''Priklop iso datoteke (slike)'''
18.02.2005 12:30 CET by bd -
Changed lines 41-42 from:
files *%.fts%% > imlist
files *%.fts%w% > outlist
to:
files *%.fts % % > imlist
files *%.fts % w % > outlist
Changed lines 50-51 from:
files a*%.fts%w% > outlist
files a*%.fts%% > imlist
to:
files a*%.fts % w % > outlist
files a*%.fts % % > imlist
18.02.2005 12:12 CET by bd -
Changed line 29 from:
'''Narise samo Hip, Tycho in V* zvezde'''
to:
'''Narise v jpeg samo Hip, Tycho in V* zvezde'''
18.02.2005 12:09 CET by bd -
Added lines 23-33:
'''Priprava iskalne karte iz datotek *.cat in *.fts'''
# Pozor acit slike so rotirane 180, obrne se lahko slike le pred obdelavo 'acitphot'
imcopy 0061V886Her[-*,*] 0061V886Her
display 0061V886Her 1
fields 0061V886Her.cat 9,10,1 | tvmark 1 STDIN label=no

'''Narise samo Hip, Tycho in V* zvezde'''
!cat 0061V886Her.cat | grep "^[HTV]" | awk '{ print $9,$10,$1 }' > tmp
tvmark 1 tmp label=yes mark=none outimage="0061V886Her.snap"
!fits2jpeg 0061V886Her.snap.fts quality=30 outfile=0061V886Her.map.jpg
18.02.2005 11:39 CET by bd -
Deleted lines 13-18:
'''Priprava lokalnega kataloga'''
lynx -dump http://archive.eso.org/skycat/servers/ASTROM_res?catalogue=\
"ASTROM_cat&epoch=2000.0\
&chart=0object=HZ+Her&CAT=TYC2&format=1&radmax=60"

18.02.2005 11:38 CET by bd -
Changed lines 17-19 from:
&chart=0&ra=&dec=&object=HZ+Her&CAT=TYC2&format=1&radmax=60"

to:
&chart=0object=HZ+Her&CAT=TYC2&format=1&radmax=60"

18.02.2005 11:36 CET by bd -
Added lines 9-19:
'''Pretvori v majhne crke'''
for a in *.FTS;\
do b=`echo $a | tr A-Z a-z`;mv $a $b;\
done

'''Priprava lokalnega kataloga'''
lynx -dump http://archive.eso.org/skycat/servers/ASTROM_res?catalogue=\
"ASTROM_cat&epoch=2000.0\
&chart=0&ra=&dec=&object=HZ+Her&CAT=TYC2&format=1&radmax=60"

Changed line 45 from:
files a*%.fts%w% > outlista
to:
files a*%.fts%w% > outlist
18.02.2005 11:22 CET by bd -
Changed line 19 from:
# v GNUPLOTu
to:
# v gnuplotu
18.02.2005 11:22 CET by bd -
Changed line 47 from:
'''Kopiranje diska:'''
to:
'''Kopiranje celega diska:'''
Changed lines 63-64 from:
<TITLE>A page i wannna to refresh</TITLE>
<META HTTP-EQUIV="Refresh" CONTENT="15">
to:
<TITLE>A page i wannna to refresh</TITLE>
<META HTTP-EQUIV="Refresh" CONTENT="15">
Changed lines 69-70 from:
<TITLE>A page that forwards to another page</TITLE>
<META HTTP-EQUIV="Refresh" CONTENT="20;URL=http://www.ago.uni-lj.si/">
to:
<TITLE>A page that forwards to another page</TITLE>
<META HTTP-EQUIV="Refresh" CONTENT="20;URL=http://www.ago.uni-lj.si/">
18.02.2005 11:21 CET by bd -
Changed lines 3-5 from:
Na tej strani dokumentiramo brez razlage razne ''hekerske carovnije''

to:
Na tej strani brez razlage dokumentiramo razne ''hekerske carovnije''

18.02.2005 11:19 CET by bd -
Added lines 53-59:
'''Zapis na CD'''
mkisofs -r -J -o slike.iso cd
cdrecord -v dev=0,0,0 speed=8 -data slike.iso

'''Priklop iso slike'''
mount -t iso9660 -o loop /tmp/cddump-image.iso.003 /mnt/iso
Changed line 70 from:
<META HTTP-EQUIV="Refresh" CONTENT="20;URL=http://www.newsite.si/">
to:
<META HTTP-EQUIV="Refresh" CONTENT="20;URL=http://www.ago.uni-lj.si/">
Added line 74:
18.02.2005 11:16 CET by bd -
Changed line 43 from:
ali:
to:
#ali:
Added lines 52-66:

'''Avtomatski reload strani'''
stran se nalozi vsakih 15 sekung
<HEAD>
<TITLE>A page i wannna to refresh</TITLE>
<META HTTP-EQUIV="Refresh" CONTENT="15">
</HEAD>

'''Avtomatski reload ene druge strani'''
<HEAD>
<TITLE>A page that forwards to another page</TITLE>
<META HTTP-EQUIV="Refresh" CONTENT="20;URL=http://www.newsite.si/">
</HEAD>

18.02.2005 11:12 CET by bd -
Changed line 30 from:
'''Zlaganje Giga slik v mozaik'''
to:
'''Zlaganje slik v GIGA mozaik'''
18.02.2005 11:11 CET by bd -
Changed lines 5-10 from:
'''Kopiranje diska:'''
(cd /source/directory; tar cf - . ) | (cd /dest/directory; tar xvfp -)
ali
cp -av /source/directory /dest/directory
ce imamo NFS
to:

'''Zadnje posneta slika v mapi'''
ls -t1 *fts.gz | awk 'NR==1'
Added lines 47-51:
'''Kopiranje diska:'''
(cd /source/directory; tar cf - . ) | (cd /dest/directory; tar xvfp -)
ali
cp -av /source/directory /dest/directory
ce imamo NFS
18.02.2005 11:08 CET by bd -
Deleted line 40:
Added line 42:
# v irafu:
Added line 48:
18.02.2005 11:06 CET by bd -
Changed lines 3-4 from:
Na tej strani dokumentiramo brez razlage hekerske carovnije
to:
Na tej strani dokumentiramo brez razlage razne ''hekerske carovnije''
18.02.2005 11:05 CET by bd -
Changed line 17 from:
'''Pogledam vse slike saturna'''
to:
'''Pogledam vse slike Saturna'''
18.02.2005 11:05 CET by bd -
Changed line 5 from:
'''kopiranje diska:'''
to:
'''Kopiranje diska:'''
Added lines 14-19:
'''Izpise vse RR Lyr iz kataloga GCVS'''
cat GCVS.DAT | awk '{print substr($0,36,10) }' | grep "RR"

'''Pogledam vse slike saturna'''
xv `find ~/ -iname Sat*.jpg`
18.02.2005 11:02 CET by bd -
Added lines 11-13:
'''Preimenovanje koncnice'''
for i in *.fit; do j=$(echo $i | sed -e 's/.fit/.fts/');mv $i $j ;done
Deleted line 29:
18.02.2005 11:00 CET by bd -
Added lines 1-40:
! Umazani carovniski triki

Na tej strani dokumentiramo brez razlage hekerske carovnije

'''kopiranje diska:'''
(cd /source/directory; tar cf - . ) | (cd /dest/directory; tar xvfp -)
ali
cp -av /source/directory /dest/directory
ce imamo NFS

'''Fitanje funkcije'''
# v GNUPLOTu
fit a*x+b 'cas.dat' via a,b
plot [150:300][-10:10] "cas.dat" using ($1):(a*$1+b-$2) with line

'''Sestevanje fits slik'''
# v irafu:
files *%.fts%% > imlist
files *%.fts%w% > outlist
wregister @imlist m33 @outlist boundary=constant constant=1
imcombine @outlist mosaic lthreshold=2

'''Zlaganje Giga slik v mozaik'''
# v irafu:
mkpattern refimage ncols=10000 nlines=10000
ccsetwcs refimage "" xref=5000 yref=5000 xmag=1.0 ymag=1.0 lngref=0:42:42.6 latref=41:14:31

files a*%.fts%w% > outlista
files a*%.fts%% > imlist
wregister @imlist refimage @outlist boundary=constant constant=1
imcombine @outlist mosaic lthreshold=2


'''Izrez slik'''
files a*%.fts%[5:2045\,1:2045]% > imlist1
imcopy @imlist1
ali:
imcopy c*[5:2045,1:2045] c*
imcopy a*[220:3870,220:3870] a*
Zadnja sprememba 11.09.2014 11:49 CEST
© Copyright 2004-2017
B.Dintinjana
Univerza v Ljubljani, F M F
Pot na Golovec 25
1000 Ljubljana, Slovenija