storm wp7 software library for nonlinear analysis of fluctuations in space plasma time series p....
TRANSCRIPT
STORM WP7Software library for nonlinear analysis of fluctuations in space plasma time series
P. Kovács, A. KoppánC. Munteanu, M. Echim,
STORM Annual Meeting, Graz, 25-26 November, 2013
Outline
• STORM related Matlab functions• ASCII data import tool• CDF file import tool• Database of the deliverables (??)
• STORM Annual Meeting, Graz, 25-26 November, 2013
STORMMatlab functions
Psd_Pwelch.m
Psd_Plot.m
Kurt_vs_Time.m
Pdf_plot.m
STR_Func.m
Pmodel_Fit.m
STR_plot.m
PowerLFit.m
FigParam_Save.m
PLFit_vs_Time.m
LogMean.m
Increment.m
GapFill.m
• function [Pxx, f] = Psd_Pwelch(indata, segments, overlap, fs , varargin)• • % Psd_Pwelch ; Computes the Power Spectral Density (PSD) function of• % vector "indata" using the Welch algorithm (see Welch, 1967 or Matlab• % Documentation). By default, the window segments are multiplied by Hamming• % window of length given as floor(length(indata)/segments). However,• % Gaussian, Hann and rectangular alternative windows can also be selected.• %• % [Pxx, f] = Psd_Pwelch(indata, segments, overlap, fs)• %• % INPUTS:• % indata = input time series• % segments = number of overlapping segments in which separate PSDs are• % computed (Final PSD is given by the mean of the segment PSDs)• % overlap = overlap of the segments in per cent ([0 100])• % fs = sapling frequency in Hz• % varargin = Type of window with which the segments of input time-series• % are multiplied before the PSD computation. Its value can be 'rectwin'• % for rectangular, 'gausswin' for Gaussian or 'hann' fo Hann windows. If• % varargin is not given, the Hamming window is used, by default.• %• % OUTPUTS:• % [Pxx f] = Frequency, f, and the corresponding PSD, Pxx, of the input• % time-series. (The first element of the spectrum corresponding to f =• % 0 Hz is discarded)• %• % NOTE:• % The conventional PSD function can be obtained by setting segments = 1• % and overlap = 0 .• % • % REQUIRED MATLAB TOOLBOX:• % - Signal Processing Toolbox• • window = floor(length(indata)/segments);• L_overlap = floor(window*overlap/100);• • if(numel(varargin))• switch(varargin{1})• case 'rectwin'• window = rectwin(window);• case 'gausswin'• window = gausswin(window);• case 'hann'• window = hann(window);• end• end• • [Pxx, f] = pwelch(indata(:,2), window, L_overlap, [], fs);• Pxx = Pxx(2:length(Pxx));• f = f(2:length(f));
PSD
STR
General
ASCII Data Import
Possible Input time formats:
yy mm dd HH MM SSyy DoY HH MM SSyyyy-mm-ddTHH:MM:SS
ASCII Data Import
ASCII Data Import
data 14354×5 doublefilename ‚u01010minsh.dat’header 5×4 charunit 4×2 char
CDF File Import
TIME_RESOLUTION ??? Time_resolution ??? time_resolution
CDF File Import
STORM Annual Meeting, Graz, 25-26 November, 2013
CDF File Import – Gap handling
Fill MethodsLinear InterpolationFill with valueResample
Uneven data sampling
12:05 12:10
0
0.5
1
12:05 12:10
0
0.5
1
OUTPUT
Linint. Non EQDistant
Original points are not distorted
Resample EQDistant Original points are distorted
12:05 12:10
0
0.5
1
STORM Annual Meeting, Graz, 25-26 November, 2013
Database of deliverables
MySQL Data Server
_ 5STORM User
_ 6STORM User
_ 7STORM User
_ 8STORM User
_ 1STORM User
_ 2STORM User
_ 3STORM User
_ 4STORM User
STORM Annual Meeting, Graz, 25-26 November, 2013
Content of the databaseFigures + Figure metadata
Data upload
MySQL Data Server
_ 5STORM User
_ 6STORM User
_ 7STORM User
_ 8STORM User
_ 1STORM User
_ 2STORM User
_ 3STORM User
_ 4STORM User
Browsing in the database
Search Options:
MissionInstrumentData TypePeriod