source: Sophya/trunk/SophyaProg/PMixer/HowToUse@ 3811

Last change on this file since 3811 was 1356, checked in by sophie, 25 years ago

Sophie: a $ was missing for one of the lin

  • Property svn:executable set to *
File size: 1.5 KB
RevLine 
[761]1#!/bin/csh
2if ($#argv < 2) then
3 echo 'Usage: HowToUse NSide_HealPix OutFITSfile'
4 exit 1
5endif
6
7
8echo ' *************************************************************';
9echo ' creating spectral response powerlaw';
10echo ' *************************************************************';
11echo ' '
[1356]12set cmd = "tgrsr $1 .2,120,50,-0.7,100,600 200 pl.fits"
[761]13echo ' '
14echo 'Executing' $cmd
15time $cmd
16
17echo ' *************************************************************';
18echo ' creating gaussian radiation spectra sky';
19echo ' *************************************************************';
20set cmd = "tgsky $1 0 140,30 gauss.fits"
21echo ' '
22echo 'Executing' $cmd
23time $cmd
24
25echo ' *************************************************************';
26echo ' creating cosine/sine radiation spectra sky';
27echo ' *************************************************************';
28set cmd = "tgsky $1 2 12,7,9,10 cossin.fits"
29echo ' '
30echo 'Executing' $cmd
31time $cmd
32
33echo ' *************************************************************';
34echo ' creating noise radiation spectra sky';
35echo ' *************************************************************';
36set cmd = "tgsky $1 1 160,44 noise.fits"
37echo ' '
38echo 'Executing' $cmd
39time $cmd
40
41echo ' *************************************************************'
42echo ' calling skymixer'
43echo ' *************************************************************'
44set xx = "@SKYMIX 3 $1"
45echo $xx > test.d
46cat howto.d >> test.d
47
48set cmd = "skymixer test.d $2"
49echo ' '
50echo 'Executing' $cmd
51time $cmd
52
53
Note: See TracBrowser for help on using the repository browser.