The new FORTRAN COMPILER is from the GNU (MinGW) project.
The theory is very basic Astrophysical LTE but there is the usual abality to accept NLTE b's produced by another program. Damping theory is also basic but there is a capability to include damping parameters produced by other programs (eg Anstee and O'Mara Mon.Not.R.Astron.Soc.276, 859, 1995).
Program and Data
The program is syn.exe (169868 bytes)
Jungfraujoch data MUST be stored in C:/JUNG/
The data files are named "Jnnn" where "nnn" is the starting wavelength, eg, J043 has data for the region 4300-4400 angstroms. The zipped files contain data from Jnnn through Jmmm:
J036-J039 (Copy these to C:/JUNG/ and unzip)
J040-J049
J050-J059
J060-J069
J070-J079
J080-J089
Curiously, SYN runs better under WINDOWS (including 95) in a DOS partition than under DOS 6. Also, you can "drag" SYN.EXE onto the desktop and click the icon to run. You can cut and paste the graphics "in the usual manner".
INTERACTIVE MODE
Hit return a few times. The text line toggles between what you saw at first and a prompt line "(S)cale (C)hange...". If you hit S the prompt switches to "Enter scale factor" and you can enter a number that will multiply the vertical scale. If you are working with weak lines or are trying to find a clean part of the spectrum (for the SPAN command) try a scale of 10 or so.
HINT: If you just hit S followed by return (CR) the scale is set to unity, and you might find S followed by CR useful for "cleaning" the plot. Also, I often enter a goofy value that causes the screen to "jump" and S CR fixes things.
Suppose you would like to see what happens if you boost the abundance of one of the lines by a factor of two (the abundance is in the form log(N/NH)+12 so this means you add 0.30103 to the number). Move the cursor to the line, hit a C for (C)hange and enter the new abundance. Try the Ti line at 5247.288: Move the cursor (which is a tiny dot that is hard to see and only appears when you hit one of the arrow keys) until the line appears in the text window, hit a C and (C)hange the 4.880 to 5.18 by simply entering 5.18. Nothing happens yet. You can make more changes but to make the changes "take" you have to enter R for (R)un and a bit of exercise for the floating point processor. After a while a new line appears on the screen and you see the old (green) and new (cyan) computed spectra on the screen and you see what such a parameter change does.
And the wavelengths just never seem to be right. You can (C)HANGE the wavelength of a line by hitting C (yes, (C)hange again) then entering the new wavelength. Unambiguous! Abundances are always less than log(N/NH)+12=14 and wavelengths are always greater than 100Å. Finally, you can change the Van der Waals multiplier by entering the new value as a negative number. You may think this is pretty primitive data entry but I like it so there! If you accidently hit C you can simply hit return and nothing will happen.
(R)emember, you can make many changes to different lines before hitting the time-consuming (R)un command. Of course, you should note what you are doing but a record of your changes will be recorded in FE5247.LIS for later perusal. And when the screen gets cluttered you can (S)cale to clean it up a bit.
(D)ata can be entered "in the usual form" if you hit D. For instance, you could put in an additional line like (see "LINE COMMAND")
C 1 5247.92 0.123 -4 1 1 0 -3 .015which should make that unsightly dip around 5247.923 look a lot better. Try it. It is not really carbon, it is a blend of cobalt and chromium but it does look nice! More important, you learn the important fact that elements having a single chemical symbol such as B, C, N, O, etc. MUST be entered as "blank C", the leading blank is very important (I may change this*****).
Note that you seem to have entered an abundance parameter of -3. In fact, the program took this to mean +3 and used this as a guess to compute what the abundance should be to give an equivalent width of 0.015Å. In other words, you invoked the curve-of-growth facility because you had a better idea of what the equivalent width of the feature is (the M.M.H. NBS Mono.61 gives 16mA as the equivalent width for this line) than the abundance. Note that the abundance is now reported as 3.915 and after cleaning the plot you will see that the Area is now .191 (assuming you changed the the Ti abundance back to 5.18 and remember to move the cursor to the vicinity of the line to see this, or type h to see a data list).
If you remembered to load GRAPHICS you can "Print Screen" for a hard copy but the neat screen colors will give the printer a fit! You can change the screen colors with the COLOUR command, e.g., try entering the (D)ata
As a final example, why not check and see whether Eddington and Barbier were right. Enter (D)ata mode, then enter MU 0. This will switch to flux mode. Clean the plot (S) and (R)un. You see the old I(0,0) plot and the F(0) plot and of coures they are different. Now clean up the plot again. On the left side you see that Mu=1 is changed to flux (***oops bug-- it will after you "clean"***) and the log(continuum)=-4.837. (Intensities are per wavelength interval and fluxes are per frequency interval, cgs. This is the "standard" way to do it?) Next, enter MU .66667 and (R)un. The two runs look pretty similar, don't they? You see in action that F=I(Mu=2/3) which is the Eddington-Barbier relation for a grey model works pretty well for the sun!
DATA FILES
SYN COMMANDS
COMMAND SUMMARY
Dump
List intermediate calculations in the output file. Default is DUMP which simply eliminates all intermediate printout. Dumps are:
1) opacity 2) tau-std, tau, B, S, J-S 3) line opacity l/gA Nr,s/gA alpha, a, v, gamma at delta=0 4) saha fractions 5) model parameters and ionization fractions for opacity 6) line opacity at all delta-lambda (see 3) 7) 8) 9)so "DUMP 1 3 5" activates dumps 1,3 and 5. "DUMP" clears all.
Grid
The GRID command initiates the synthesis. It needs three data items:
1) Wmin, the starting wavelength (A),
2) Wmax, the final wavelength,
3) dW, the grid spacing.
****Watch for change here****
Computation time is proportional to (Wmax-Wmin)/dW. Note that the maximum number of grid points (Wmax-Wmin)/dW < 2001. Clearly, you start with a coarse grid then shrink dW as the region improves.
Macroturbulence
Value of macroturbulent velocity, km/s. Can often be used to simulate instrumental profile.
Microturbulence
Value of microturbulent velocity, km/s. Nobody really believes in microturbulence but everybody uses it. It is possible to employ depth-dependent microturbulence by
MICRO -1 a b c d
which sets Vmic(Xo)=a+b*Xo between Xo=c and Xo=d so for a complete description you may need several of these. { Xo=log(tauo) }
MODel
Indicates that the following records contain data for the photospheric model. Each record contains five items:
MU
Disk position, Mu=cos(theta). MU=1 for disk center (default). Note that if 0<MU<=1 intensity is calculated, if MU=0 flux is calculated. So if you are working on stellar data you need a MU 0 command and I would recommend putting this right in the MODEL files so you dont forget.
Read
Continue reading input stream. See SKIP.
Skip
Skip over data until a READ command is encountered. Useful in curve-of-growth mode or data debugging.
Span
Recently changed. May have a bug if you set "SPan wavelength". This should force the program to normalize the computed and observed spectra at "wavelength". If this number is >50000 it scales the observed data, so SPAN 99500 would multiply the observed spectrum by a factor 0.995. I like to interactively scale 10 (to really magnify the continuum) then use Kommand to enter SPan 99990 or whatever to diddle the continuum (or is this really called cheating?)
Stop
Stop program gracefully. In interactive mode I exit by typing K followed by Q.
SYS
Shell (immediate) to DOS command prompt. Useful for using the DOS DIRectory command.
Use
Switch input stream. Requires full pathname if the file is not in the same directory as SYN.EXE and extension e.g.,
NOTE that single symbol elements such as B, C, F, I, K, etc. REQUIRE that the first character be blank******underreview.
The "line command" requires, in addition to the chemical symbol,
To exit
enter q (Quit) (twice?) to get to syn=>. one more q and you are back to DOS or Windows. When you are at syn> you can "do" another data file: >use 5859 for example.
For a quick exit just K Q
After you have finished tweaking the data, you will find a file filename.LIS that contains a record of what you did. The last (R)un is what you are probably interested in. The revised line data will be found at the end of the file. You can copy the revised line data over the original filename.DAT using a text editor.