Changes between Initial Version and Version 1 of ScriptsForUsers

Show
Ignore:
Timestamp:
10/21/13 16:27:00 (3 years ago)
Author:
mchatzikos
Comment:

New script inventory for users

Legend:

Unmodified
Added
Removed
Modified
  • ScriptsForUsers

    v1 v1  
     1= Scripts For Users = 
     2 
     3This page provides an inventory of scripts shipped with Cloudy, that may be of value to our users. 
     4Note that this page does '''not''' provide an exhaustive description of each script's capabilities. 
     5Users are advised to read the documentation within each script for more information. 
     6 
     7If problems arise, please consult the 
     8[http://tech.groups.yahoo.com/group/cloudy_simulations/ Yahoo! discussion board]. 
     9 
     10In the examples below, the leading sentinel ($) signifies the command prompt, 
     11and should '''not''' be included. 
     12 
     13== tsuite/auto/fix_input_scripts_wl.pl == 
     14 
     15As of r7900, the default number of significant figures used 
     16with emission line wavelengths has been increased from 4 to 6. 
     17The present script will update the wavelengths in 
     18input decks and line lists to the new default. 
     19 
     20To use the script, first run Cloudy (at revision 7900 or greater, 
     21or newer than C13) with an input deck, e.g., my-script.in. 
     22Then simply issue 
     23{{{ 
     24$ $CLOUDY/tsuite/auto/fix_input_scripts_wl.pl my-script.in 
     25}}} 
     26where $CLOUDY is the full path to your Cloudy installation. 
     27The script will go over the output file (my-script.out, in this case), 
     28find unidentified emission lines, and process the input deck, as well 
     29as any linelists or init files invoked therein, to update wavelengths 
     30to the new default. 
     31The previously used wavelengths will be saved in comment lines. 
     32Before starting any processing, the script will ask for a message 
     33to append at the end of such comment lines. 
     34 
     35Note that Cloudy may exit before it is done reporting 
     36all the unidentified wavelengths in an input deck. 
     37Users are advised to repeat running first Cloudy and then this script 
     38until the no unidentified emission lines are reported in the output file. 
     39 
     40 
     41 
     42== tsuite/programs/collion/split-collion.pl == 
     43 
     44This script may be used to process the file "collion.txt" in that directory 
     45to isolate the ionization fractions into separate files  for each element. 
     46Disjoint tables are brought together in the process, and the output files 
     47are tab-delimited to ease the use with plotting programs, such as 
     48[http://www.gnuplot.info/ Gnuplot] or [http://home.gna.org/veusz/ Veusz]. 
     49 
     50For instance, the ionization fractions of iron may be produced with the 
     51command: 
     52{{{ 
     53$ ./split-collion.pl fe 
     54}}} 
     55which produces the file "collion-Iron.txt". 
     56 
     57Several parameters are defined within the 
     58script to facilitate plot production. 
     59A Gnuplot script may be generated as a template. 
     60Gnuplot may also operate on that script, if desired. 
     61By default PS files are generated. 
     62Note that PDF files can be produced only on systems 
     63on which Gnuplot has been compiled with supporting 
     64terminals (pdfcairo or pdf).