Документ взят из кэша поисковой машины. Адрес оригинального документа : http://star.arm.ac.uk/~csj/software_store/guide/sfit2_help.html
Дата изменения: Mon Oct 18 13:45:58 2004
Дата индексирования: Tue Oct 2 10:49:30 2012
Кодировка:

Поисковые слова: rho ophiuchi
sfit help file

SFIT2

Simon Jeffery, Armagh Observatory: September 2002

LATEST NEWS

Description

SFIT is a general-purpose code designed to optimize theoretical stellar spectra to an observed spectrum. It is based on models calculated with the ARMGH LTE codes STERNE and SPECTRUM, but is flexible and can be adapted to other models. It has been proven to work well with both high and intermediate-dispersion normalized spectra. An important feature of the code is that several different parameter optimisation methods are available, including Levenburg-Marquardt, Amoeba, and Genetic Algorithms.

    This version combines two previous programmes, SFIT and SFIT_SYNTH, and provides the following capabilities:
  1. Solves for T, log g, abundance, v sin i, R2/R1 for one or two stars by fitting model spectra to normalized spectra.
  2. Solves for elemental abundances and microturbulent velocity for a single spectrum, given an assumed model atmosphere.

Platforms

This code is designed to run on both Linux and Alpha platforms. It has run successfully on both, but because the code is still developing rapidly, the most recent version may not!.

It may be necessary, particularly when running this code on the Armagh alphas, to increase the data limit on your current process. This can be achieved with:
> limit datasize 1048576 kbytes
> ulimits -aD (alpha) to see maximum values.

Use

While the programme expects input from "stdio", it is more natural to save commands in a file (eg "sfit_input") and run the code simply by
> sfit2 < sfit_input

If the spectra to be fitted have a filename "star_spectrum", then the best fit spectrum will be written out, together with the renormalized input spectrum, to a file called "star_spectrum.fit".

Syntax

For historical reasons, the command syntax is not yet fully stable. In general, commands may be entered at a range of levels. This is so that, for example, definitions of parameters are associated with the correct context. For example, instrumental broadening should be associated with the spectrum to be fitted (data), whilst the convergence tolerance is associated with the solution method.

Command Summary

models, model2sets up model spectrum grid (and for 2nd star)solve
save_grid, save_grd2saves rebinned model spectrum grid as binary filesolve
read_grid, read_grd2reads model spectrum grid from binary filesolve
sternedefines single model atmosphere (from STERNE)synth
abundancesinitialize abundancessynth
parametersinitialize spectrum fit parameterssolve
methodselect solution method
gen_parset flags for the genetic algorithm
spc_parset flags for spectrum
  
continuumselect continuum renormalization method
cmaskdefine regions to _include_ in continuum fit
maskdefine regions to _exclude_ from fit using given weights
  
data input observational data
normalizesingle step renormalization with no change of fit parameters
vcorruse current model to determine radial velocity (used in subsequent fits)
solvepursue solution by interpolation in grid
synthpursue solution by computing new spectra
  
setset specific parameters
showshow current values of specific or all parameters
endfinish gracefully
  

Examples

Example 1. Setup model grid in binary form for subsequent use.

Example 2. Fit Teff, log g and n_H to WHT/UES spectrum using a grid of helium-rich model spectra.

Example 3. Fit Teff_1, Teff_2 and radius ratio in binary, using saved model grids * WARNING - not recently tested *


This page is maintained by:
Simon Jeffery (csj@star.arm.ac.uk)
Last modified: July 23, 2003