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