glups/films61668ba8ebf3master
films
Readme
../glups.py --noshell ../../pNbody-4.0/examples/gadget_file.dat
./gsplinetrk -n 200 track/*.trk --dirname=newtrack00 --basename=trk
rm -rf center ./gtrk2nbd newtrack00/*.trk --basename="gadget_file.dat" mkgmov -p filmparam_center.py center.gmv ../../pNbody-4.0/examples/gadget_file.dat
rm -rf right_gas left_gas ./gtrk2nbd newtrack00/*.trk --eye='both' --basename="gadget_file.dat" mv right right_gas mv left left_gas mkgmov -p filmparam_gas.py gas.gmv ../../pNbody-4.0/examples/gadget_file.dat
../glups.py /home/revaz/code/gd01/snap_ref/snapshot_*
./gsplinetrk -n 1000 track/*.trk --dirname=newtrack00 --basename=trk
rm -rf right_gas left_gas ./gtrk2nbd newtrack00/*.trk --eye='both' --snapfiles="/home/revaz/code/gd01/snap_ref/snapshot_*" mv right right_gas mv left left_gas mkgmov -p filmparam_gas.py gas.gmv /home/revaz/code/gd01/snap_ref/snapshot_*
./gtrk2nbd newtrack00/*.trk --eye='both' --basename="stars.dat" ./gtrk2nbd newtrack00/*.trk --eye='both' --basename="halo.dat" ./gtrk2nbd newtrack00/*.trk --eye='both' --basename="gas.dat" ./gtrk2nbd newtrack00/*.trk --eye='both' --snapfiles="snapshot_*"
mkgmov -p filmparam_stars.py stars.gmv stars.dat mkgmov -p filmparam_halo.py halo.gmv halo.dat mkgmov -p filmparam_gas.py gas.gmv gas.dat
rm -rf tmp_stars gmov2mpeg -p red -f stars.gmv -k mv tmp tmp_stars
rm -rf tmp_halo gmov2mpeg -p green -f halo.gmv -k mv tmp tmp_halo
rm -rf tmp_gas gmov2mpeg -p blue -f gas.gmv -k mv tmp tmp_gas
mkdir final_c mkdir final_p mkdir final mkdir final_a mkdir final_pb ./merge_rgb.py
gmkmpeg --directory=final_c/ -o film_c.mpg gmkmpeg --directory=final_p/ -o film_p.mpg gmkmpeg --directory=final_cb/ -o film_cb.mpg gmkmpeg --directory=final_pb/ -o film_pb.mpg gmkmpeg --directory=final_a/ -o film_a.mpg gmkmpeg --directory=final/ -o film.mpg
mplayer -loop film.mpg
comparaison des couleurs
display tmp_stars/00000.ppm tmp_halo/00000.ppm tmp_gas/00000.ppm display /home/revaz/pgm/python/pyconv/stars2.jpg /home/revaz/pgm/python/pyconv/halo2.jpg /home/revaz/pgm/p ython/pyconv/gas2.jpg
./pyconv.py tmp_stars/00000.ppm tmp_halo/00000.ppm tmp_gas/00000.ppm -o qq.ppm