labplot  2.8.2
About: LabPlot is an application for plotting and analysis of 2D and 3D functions and data. It is a complete rewrite of LabPlot1 and lacks in the first release a lot of features available in the predecessor. On the other hand, the GUI and the usability is more superior.
  Fossies Dox: labplot-2.8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

nsl_dft.h File Reference
#include <stdlib.h>
#include "nsl_sf_window.h"
Include dependency graph for nsl_dft.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NSL_DFT_RESULT_TYPE_COUNT   11
 
#define NSL_DFT_XSCALE_COUNT   3
 

Enumerations

enum  nsl_dft_result_type {
  nsl_dft_result_magnitude , nsl_dft_result_amplitude , nsl_dft_result_real , nsl_dft_result_imag ,
  nsl_dft_result_power , nsl_dft_result_phase , nsl_dft_result_dB , nsl_dft_result_normdB ,
  nsl_dft_result_squaremagnitude , nsl_dft_result_squareamplitude , nsl_dft_result_raw
}
 
enum  nsl_dft_xscale { nsl_dft_xscale_frequency , nsl_dft_xscale_index , nsl_dft_xscale_period }
 

Functions

int nsl_dft_transform (double data[], size_t stride, size_t n, int two_sided, nsl_dft_result_type type)
 
int nsl_dft_transform_window (double data[], size_t stride, size_t n, int two_sided, nsl_dft_result_type type, nsl_sf_window_type window)
 

Variables

const char * nsl_dft_result_type_name []
 
const char * nsl_dft_xscale_name []
 

Macro Definition Documentation

◆ NSL_DFT_RESULT_TYPE_COUNT

#define NSL_DFT_RESULT_TYPE_COUNT   11

File : nsl_dft.h Project : LabPlot

Description : NSL discrete Fourier transform functions

Copyright : (C) 2016 by Stefan Gerlach (stefa.nosp@m.n.ge.nosp@m.rlach.nosp@m.@uni.nosp@m..kn)

  • This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. *
  • This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. *
  • You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA *

Definition at line 49 of file nsl_dft.h.

◆ NSL_DFT_XSCALE_COUNT

#define NSL_DFT_XSCALE_COUNT   3

Definition at line 55 of file nsl_dft.h.

Enumeration Type Documentation

◆ nsl_dft_result_type

Enumerator
nsl_dft_result_magnitude 
nsl_dft_result_amplitude 
nsl_dft_result_real 
nsl_dft_result_imag 
nsl_dft_result_power 
nsl_dft_result_phase 
nsl_dft_result_dB 
nsl_dft_result_normdB 
nsl_dft_result_squaremagnitude 
nsl_dft_result_squareamplitude 
nsl_dft_result_raw 

Definition at line 50 of file nsl_dft.h.

◆ nsl_dft_xscale

Enumerator
nsl_dft_xscale_frequency 
nsl_dft_xscale_index 
nsl_dft_xscale_period 

Definition at line 56 of file nsl_dft.h.

Function Documentation

◆ nsl_dft_transform()

◆ nsl_dft_transform_window()

int nsl_dft_transform_window ( double  data[],
size_t  stride,
size_t  n,
int  two_sided,
nsl_dft_result_type  type,
nsl_sf_window_type  window 
)

Variable Documentation

◆ nsl_dft_result_type_name

const char* nsl_dft_result_type_name[]
extern

File : nsl_dft.c Project : LabPlot

Description : NSL discrete Fourier transform functions

Copyright : (C) 2016 by Stefan Gerlach (stefa.nosp@m.n.ge.nosp@m.rlach.nosp@m.@uni.nosp@m..kn)

  • This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. *
  • This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. *
  • You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA *

Definition at line 37 of file nsl_dft.c.

Referenced by XYFourierTransformCurvePrivate::recalculate(), and XYFourierTransformCurveDock::setupGeneral().

◆ nsl_dft_xscale_name

const char* nsl_dft_xscale_name[]
extern