NAME

fp_write_spectra - Writes spectra to a file.

SYNOPSIS

#include "s/s_io.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 


int fp_write_spectra
(
	const Spectra *sp,
	FILE *fp
);

DESCRIPTION

This routine writes a spectra to a file pointed to by fp.

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

read_spectra_from_config_file , read_reflectance_spectra , read_illuminant_spectra , read_sensor_spectra , read_spectra , read_spectra_file_header , fp_read_spectra_file_header , write_spectra_full_precision , fp_write_spectra_full_precision , write_spectra , fp_write_spectra_file_header