A. Goobar, E. Mörtsell, R. Amanullah, M. Goliath, L. Bergström, T. Dahlén
Astronomy and Astrophysics 392 (2002) 757-771, September 2002. (This reference should be used
whenever the code, or parts of it, are used)

       tarfile with SNOC V2.10 (June 20, 2006) simulation source code and binaries
 

       tarfile with SNALYS (cosmology fitting) source code and binaries
 
CERNLIB should be downloaded from CERN. A (Linux) version of it (most likely outdated) may be also found here.

If necessary: the source files to the random number library are here, courtesy of Christian Walck .


If you download the code and find it useful, send an e-mail to ariel@physto.se so that you may be told when there are updates. However, support will be limted.

To generate events:
 

  • Make a copy of  $snoc/ini/snoc_example.tit
  • Edit new file and change parameters if necessary
  • cd $snoc/bin.redhat (this is unfortunatelly necessary with the current version!)
  • snoc_mc   filename.tit  filename.out
To fit cosmology:
 
  •  cd $snalys/
  • Execute "configure" followed by "make"
  •  make a copy of $snalys/example.par
  •  Edit new file and change parameters if necessary
  •  cd $snalys/src
  •   snalys -i example.par -o example.out filename.out
To generate PAW-ntuple of generated data:
(see http://wwwinfo.cern.ch/asd/paw/index.html for information about PAW)
 
  • cd $snoc/bin.redhat/
  • snoc_cwn filename.out filename.cwn
To make simple plots in PAW:
 
  •  eexcute paw by See seperate download instructions from CERN website


      Inside paw, give following commands:

  • h/file 1 filename.cwn 4096
  • fortran/file 37 myfile.ps                              opens an output file for the plots
  • metafile     37 -111                                   defines the output format as postscript
  • set mtyp 20            choose marker type
  • ntuple/plot 1.bzmag%zs                           this plots a Hubble diagram
  • ntuple/plot 1.(bzmag+corbr)%zs            magnitudes as observed through R-band
  • ntuple/plot 1.(bzmag+corbr+rlins_dm)%zs    GL magnification added
  • close 37                                                      close postscript file