NAME
create_spectra - Creates a spectra of the specified characteristics
SYNOPSIS
#include "s/s_spectra.h"
Example compile flags (system dependent):
-DLINUX_X86_64 -DLINUX_X86_64_OPTERON -DGNU_COMPILER
-I/home/kobus/include
-L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
-lKJB -lfftw3 -lgsl -lgslcblas -ljpeg -lSVM -lstdc++ -lpthread -lSLATEC -lg2c -lacml -lacml_mv -lblas -lg2c -lncursesw
Spectra *create_spectra
(
int num_spectra,
int num_freq_intervals,
double offset,
double step,
Spectra_origin type
);
DESCRIPTION
This routine creates a spectra of the specified characteristics. Spectra
should be disposed of with free_spectra().
RETURNS
On succes, a pointer to a freshly allocated spectra is returned. On
failure, NULL is returned, and an error message is set.
RELATED
Spectra
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Kobus Barnard
DOCUMENTER
Kobus Barnard
SEE ALSO
free_spectra
,
get_target_spectra
,
copy_spectra
,
convert_spectra
,
multiply_spectra
,
check_spectra_are_comparable