Ksetiwatch API Documentation


StateFileData Struct Reference

The StateFileData structure contains all information that can be found in the state.sah file. More...

#include <setidefs.h>

Collaboration diagram for StateFileData:

Collaboration graph
[legend]
List of all members.

Public Attributes

int ncfft
double cr
int fl
double cpu
double prog
int potfreq
int potactivity
int outfilepos
WUScore max

Detailed Description

The StateFileData structure contains all information that can be found in the state.sah file.

Definition at line 230 of file setidefs.h.


Member Data Documentation

int StateFileData::ncfft
 

The number of processed Fast Fourier Transformations at the time of the last write to the state file.

The FFT decomposes a signal taken over a certain period of time into its frequency components.

Definition at line 236 of file setidefs.h.

Referenced by SetiContainer::fftNumber(), SetiContainer::initStateFileData(), and SetiContainer::scanStateFile().

double StateFileData::cr
 

The chirp (or drift) rate in Hz/s.

Assuming that the extraterrestrial signals are coming from a moving object (relative to the Earth), the signals are received with a certain frequency change. This is the well-known Doppler effect, which can also be observed e.g. for an approaching car horn. The amount of the frequency shift depends on the relative velocity of the extraterrestrial object with respect to Earth. Unfortunately we don't exactly know what the relative velocity is (since it varies from object to object), so the client needs to search a range of values (-50 Hz/s to +50 Hz/s for version 3.03).

Definition at line 250 of file setidefs.h.

Referenced by SetiContainer::chirpRate(), SetiContainer::initStateFileData(), and SetiContainer::scanStateFile().

int StateFileData::fl
 

The FFT length at the time of the last write to the state file.

Definition at line 253 of file setidefs.h.

Referenced by SetiContainer::fftLength(), SetiContainer::initStateFileData(), and SetiContainer::scanStateFile().

double StateFileData::cpu
 

The CPU time in seconds.

Definition at line 255 of file setidefs.h.

Referenced by SetiContainer::cpuTime(), SetiContainer::initStateFileData(), and SetiContainer::scanStateFile().

double StateFileData::prog
 

The percentage done by the client.

This is a value between 0 and 1.

Definition at line 258 of file setidefs.h.

Referenced by SetiContainer::checkClientState(), SetiContainer::checkClientStatePassive(), SetiContainer::initStateFileData(), SetiContainer::progress(), SetiContainer::scanStateFile(), and SetiContainer::setDirectory().

int StateFileData::potfreq
 

Used by the client to pick up the processing at the point where it stopped at shut-down.

Definition at line 261 of file setidefs.h.

Referenced by SetiContainer::initStateFileData(), SetiContainer::potFrequency(), and SetiContainer::scanStateFile().

int StateFileData::potactivity
 

Used by the client to pick up the processing at the point where it stopped at shut-down.

Definition at line 264 of file setidefs.h.

Referenced by SetiContainer::initStateFileData(), SetiContainer::potActivity(), and SetiContainer::scanStateFile().

int StateFileData::outfilepos
 

Represents the size of the file `outfile.sah', which contains signals to be returned to the server.

Definition at line 267 of file setidefs.h.

Referenced by SetiContainer::initStateFileData(), SetiContainer::outfileSize(), and SetiContainer::scanStateFile().

WUScore StateFileData::max
 

The maximum signals found in the work unit.

Definition at line 269 of file setidefs.h.

Referenced by SetiContainer::gaussianScore(), SetiContainer::initStateFileData(), SetiContainer::pulseScore(), SetiContainer::scanGaussianData(), SetiContainer::scanGaussianGraphData(), SetiContainer::scanPulseData(), SetiContainer::scanPulseGraphData(), SetiContainer::scanSpikeData(), SetiContainer::scanTripletData(), SetiContainer::scanTripletGraphData(), SetiContainer::spikeScore(), SetiContainer::tripletScore(), and SetiContainer::wuScore().


The documentation for this struct was generated from the following file:
KDE Logo
This file is part of the documentation for Ksetiwatch API Version 2.6.1.
Documentation copyright © 2000-2003 Gordon Machel.
Generated on Fri Jun 6 00:29:04 2003 by doxygen 1.2.18, written by Dimitri van Heesch, © 1997-2002