storm wp7 software library for nonlinear analysis of fluctuations in space plasma time series p....

14
STORM WP7 Software library for nonlinear analysis of fluctuations in space plasma time series P. Kovács, A. Koppán C. Munteanu, M. Echim, STORM Annual Meeting, Graz, 25-26 November, 2013

Upload: virginia-jefferson

Post on 18-Jan-2016

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: STORM WP7 Software library for nonlinear analysis of fluctuations in space plasma time series P. Kovács, A. Koppán C. Munteanu, M. Echim, STORM Annual

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

Page 2: STORM WP7 Software library for nonlinear analysis of fluctuations in space plasma time series P. Kovács, A. Koppán C. Munteanu, M. Echim, STORM Annual

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

Page 3: STORM WP7 Software library for nonlinear analysis of fluctuations in space plasma time series P. Kovács, A. Koppán C. Munteanu, M. Echim, STORM Annual

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

PDF

STR

General

Page 4: STORM WP7 Software library for nonlinear analysis of fluctuations in space plasma time series P. Kovács, A. Koppán C. Munteanu, M. Echim, STORM Annual

ASCII Data Import

Possible Input time formats:

yy mm dd HH MM SSyy DoY HH MM SSyyyy-mm-ddTHH:MM:SS

Page 5: STORM WP7 Software library for nonlinear analysis of fluctuations in space plasma time series P. Kovács, A. Koppán C. Munteanu, M. Echim, STORM Annual

ASCII Data Import

Page 6: STORM WP7 Software library for nonlinear analysis of fluctuations in space plasma time series P. Kovács, A. Koppán C. Munteanu, M. Echim, STORM Annual

ASCII Data Import

data 14354×5 doublefilename ‚u01010minsh.dat’header 5×4 charunit 4×2 char

Page 7: STORM WP7 Software library for nonlinear analysis of fluctuations in space plasma time series P. Kovács, A. Koppán C. Munteanu, M. Echim, STORM Annual

CDF File Import

TIME_RESOLUTION ??? Time_resolution ??? time_resolution

Page 8: STORM WP7 Software library for nonlinear analysis of fluctuations in space plasma time series P. Kovács, A. Koppán C. Munteanu, M. Echim, STORM Annual

CDF File Import

Page 9: STORM WP7 Software library for nonlinear analysis of fluctuations in space plasma time series P. Kovács, A. Koppán C. Munteanu, M. Echim, STORM Annual

STORM Annual Meeting, Graz, 25-26 November, 2013

CDF File Import – Gap handling

Fill MethodsLinear InterpolationFill with valueResample

Page 10: STORM WP7 Software library for nonlinear analysis of fluctuations in space plasma time series P. Kovács, A. Koppán C. Munteanu, M. Echim, STORM Annual

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

Page 11: STORM WP7 Software library for nonlinear analysis of fluctuations in space plasma time series P. Kovács, A. Koppán C. Munteanu, M. Echim, STORM Annual

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

Page 12: STORM WP7 Software library for nonlinear analysis of fluctuations in space plasma time series P. Kovács, A. Koppán C. Munteanu, M. Echim, STORM Annual

Content of the databaseFigures + Figure metadata

Page 13: STORM WP7 Software library for nonlinear analysis of fluctuations in space plasma time series P. Kovács, A. Koppán C. Munteanu, M. Echim, STORM Annual

Data upload

MySQL Data Server

_ 5STORM User

_ 6STORM User

_ 7STORM User

_ 8STORM User

_ 1STORM User

_ 2STORM User

_ 3STORM User

_ 4STORM User

Page 14: STORM WP7 Software library for nonlinear analysis of fluctuations in space plasma time series P. Kovács, A. Koppán C. Munteanu, M. Echim, STORM Annual

Browsing in the database

Search Options:

MissionInstrumentData TypePeriod