Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.astro.spbu.ru/JPDOC/0-codes.html
Дата изменения: Fri Nov 19 13:08:42 2010
Дата индексирования: Mon Oct 1 19:37:37 2012
Кодировка:
Поисковые слова: helixnebula
Computer programs
Codes to transform the standard data files
The original files with the data were in different formats.
To simplify their application
we used to bring the files to a selected form:
the fixed quantities in columns and fixed formats of numbers.
Such files were named "standard data files" and linked to the database.
They can be easily transformed to any desirable format by a code.
Here we present two simple computer programs of this kind.
The first code allows
you to make a simple transformation.
When running the code, you can specify columns in the output file:
wavelength, energy (eV) or wavenumber (cm-1) as
the first column, and
complex refractive index or dielectric function as
the second and third columns.
The input and output filenames and formats of data are unchangeable:
IN and OUT and format (E11.4, 2E14.5), respectively.
The code is written in the standard Fortran.
A more advanced code goes further
in the transformation.
When running the code, you can not only select the output function
(refractive index or dielectric function vs
wavelength, energy or wavenumber),
but also specify the input and output filenames and
all output data formats.
The code is written in the standard Fortran.
Mie code for spheres
Light scattering by homogeneous spheres (described by Mie theory)
is often used in applications of the optical constants.
There are a lot of computer codes simulating this scattering
and freely available in Internet (see links on
the main page of the database).
 
Here we present our simple Fortran code
to calculate the optical properties (efficiencies, albedo,
asymmetry factor) of spheres.
The input parameters are the refractive index and
the size parameter(s).
Calculations with the test
input file
should lead to the results given in our
output file.
SVM code for spheroids
Prolate/oblate spheroids of different aspect ratios are
a good representative of the wide class of non-spherical particle shapes.
The light scattering by spheroids can be treated by
various methods
(links to some codes available in Internet are given on
the main page).
In the most consistent way the scattering geometry
is involved in the calculations by the Separation of Variables Method (SVM).
Here we present a code that simulates the optical properties
of homogeneous spheroids basing on the SVM.
The code and its brief description are presented
on our SVM code page.