Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Seitosh
Seitosh
Commits
ec7b343f
Commit
ec7b343f
authored
Jan 07, 2019
by
thomas.forbriger
Browse files
libpsdxx [WP]: add function prototype lin_frequency
parent
ba361d40
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/libpsdxx/psd.h
View file @
ec7b343f
...
...
@@ -209,6 +209,18 @@ namespace psd {
/* ====================================================================== */
/*! return a linear frequency scale
*
* \param df sampling interval in Hz of uniformly samples spectral values
* \param nsamples number of samples of spectral data
* \return series of frequency values in Hz with linear spacing with \p df
* interval beginning with 0 Hz
*
* This function is a corresponding function to log_frequency().
*/
TDseries
lin_frequency
(
const
double
&
df
,
unsigned
int
&
nsamples
);
/*! return a logarithmic frequency scale
*
* \param df sampling interval in Hz of uniformly samples spectral values
...
...
@@ -222,9 +234,9 @@ namespace psd {
* logarithmic spacing. The return value can be used as input parameter to
* the actual sampling functions.
*/
TDseries
log_frequency
(
const
double
&
df
,
unsigned
int
&
nsamples
,
unsigned
int
&
n_per_decade
);
TDseries
log_frequency
(
const
double
&
df
,
unsigned
int
&
nsamples
,
unsigned
int
&
n_per_decade
);
/*! sample values on a logarithmic frequency axis
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment