lte-codes sterne spectrum ffit sfit grids idlines
commands scl

SFIT v2

Simon Jeffery, Armagh Observatory

LATEST NEWS

SFIT is a general-purpose code designed to optimize theoretical stellar spectra to an observed spectrum. Although based on models calculated with the Armagh Observatory LTE codes STERNE and SPECTRUM, it 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. It has also been designed for both single and composite (binary) stellar spectra.

Modes and Methods

SFIT currently has two [three] major modes of operation...:

... and four major methods of solution:

SLV In single star mode, solves for T, log g, abundance, v sin i, v rad by fitting model spectra to normalized spectra. The abundance variable depends on how the input grid is specified.
In double stars mode, solves for T 1, log g 1, abundance 1, v sin i 1, v rad 1, T 2, log g 2, abundance 2, v sin i 2, v rad 2 and R2/R1 by fitting model spectra to normalized spectra.

SYN Solves for elemental abundances and microturbulent velocity for a single spectrum, given an assumed model atmosphere.

FLX The flux fitting code FFIT has not yet been incorporated into SFIT.

Usage

Sfit may be run interactively from the terminal. If you have lte-codes installed, simply type
> Sfit

While Sfit accepts input from "stdio", it is more natural to save/edit commands in a file (eg "solve_input.sfit") and run the code simply by entering

> Sfit solve_input.sfit [linelist]

The current default linelist (lines_woolf.d) is suitable for modelling high-resolution blue optical spectra of B and early A stars. Give the filename for an appropriate linelist if you need something different.

Sfit Control Language (SCL)

The sfit command syntax has evolved and is more stable and straightforward than in the past. Where subcommands could be used previously, these should still work but are not guaranteed. SCL should be thought of as a very specialized programming language. An sfit input file is an sfit program. Eventually, SCL will become common to all the LTE codes. The following features should be noted.

Examples

Example 1. Setup model grid for use in coarse calibration of hot subdwarf spectra.

Example 2. Fit Teff, logg, lognHe, vsini and vrad to low-dispersion spectra of hot subwarfs. The model grid (3.4MB) produced by Example 1 and a selection of input spectra ( f008 f036 f068 f304 f354 ), together with SFIT output files are also given in this folder

Example 3.

Setup model grid for use in fine calibration of a high resolution spectrum.

Example 4.

Fit Teff, logg, lognHe, vsini and vrad to a high-dispersion spectrum of a hot helium star. The model grid (2.8MB) produced by Example 3 and an input spectrum together with SFIT output files are also given in this folder

Example 5.

Fit selected abundances to the same spectrum assuming a STERNE model atmosphere. SFIT output files are also given in this folder

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

Platforms

This code was originally configured to run on both Linux and Alpha OSF/1 platforms. It has run successfully on both, but Linux is now the current default implementation.


This page is maintained by:
Simon Jeffery (csj@star.arm.ac.uk)
Last modified: Mon Oct 18 14:58:00 BST 2004