TUM-Logo

libRASCH

 

Home
 

General

About libRASCH/News
Design
Screen shots
Sample programs (with source code)
License
 

Download

libRASCH
Tools
 

Documentation

User
Developer
 

Resources

Mailing list
Supported Formats
Plugins
Status
Links
 
Contact
About this site
 
Last updated
Tue Mar 27 23:03:54 2007

Plugin freq-analysis

Namefreq-analysis -- perform frequency analysis
Version0.2.1
AuthorRaphael Schneider (rasch@med1.med.tum.de)
Description
Remarks
TypePLUGIN_PROCESS
LicenseLICENSE_LGPL
Status0

Usage

Options

use_events () gettext_noop(!=0: use events
evprop_name (string) use these event-property for frequency analysis
evprop_pos_name () gettext_noop(when using events
use_time (long) flag if freq. analysis should be done based on time(!=0) or based on the event(=0) (e.g. rr-interval)
use_start_end_event (long) use events from start_event to end_event
start_event (long) start-event (including this event)
end_event (long) end-event (excluding this event)
num_events (long) use the events listed in events
events (long array) list of events to use
num_ignore_events (long) number of events which should be ignored
ignore_events (long array) list of events to ignore
rh (long) recording handle
ch_num (long) use this channel for PRSA
use_ignore_value (long) flag if there are values which should not be used for freq. analysis
ignore_value (double) this value will be not used for freq. analysis (if use_ignore_value_1 is != 0)
use_start_end_pos (long) use raw-data/events between start_pos and end_pos
start_pos (long) start-pos in sample-units
end_pos (long) end-pos in sample-units
use_data (long) use the data given in 'data'
num_data (long) number of the data given in 'data'
data (double array) perform frequency analysis using this data
samplerate (double) samplerate to use when freq.analysis should be done time based
smooth_data (long) flag if input-data should be smoothed
smooth_method (string) at the moment only a boxcar-filter is available
smooth_width (double) width of the smooth-filter
window (string) window function used
remove_mean (long) remove the mean value before the frequency analysis
remove_trend (long) remove the trend (first order) before the frequency analysis
method (string) method used for the frequency analysis
num_freq (long) number of frequency components
smooth_spec (long) flag if spectrum should be smoothed

Results

FREQ_AXIS (double array) frequency values (the x-axis)
PSD (double array) Power Spectrum Density
REAL_PART (double array) real part of the frequency spectrum
IMG_PART (double array) imaginary part of the frequency spectrum