My Project
0.0.16
QUCS Mapping
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
DownLoad
QUCS-src
qucs-0.0.16
qucs-core
src
receiver.h
Go to the documentation of this file.
1
/*
2
* receiver.h - EMI receiver class definitions
3
*
4
* Copyright (C) 2009 Dirk Schaefer <schad@5pm.de>
5
* Copyright (C) 2009 Stefan Jahn <stefan@lkcc.org>
6
*
7
* This is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2, or (at your option)
10
* any later version.
11
*
12
* This software is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this package; see the file COPYING. If not, write to
19
* the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
20
* Boston, MA 02110-1301, USA.
21
*
22
* $Id: receiver.h 1825 2011-03-11 20:42:14Z ela $
23
*
24
*/
25
26
#ifndef __RECEIVER_H__
27
#define __RECEIVER_H__
28
29
namespace
emi {
30
31
// receiver setting
32
struct
settings
{
33
nr_double_t
start
;
34
nr_double_t
stop
;
35
nr_double_t
stepsize
;
36
nr_double_t
bandwidth
;
37
};
38
39
// internal helper functions
40
nr_int32_t
nearestbin32
(
int
);
41
nr_double_t
f_2ndorder
(nr_double_t, nr_double_t, nr_double_t);
42
nr_double_t
f_gauss
(nr_double_t, nr_double_t, nr_double_t);
43
nr_double_t
f_ideal
(nr_double_t, nr_double_t, nr_double_t);
44
vector
*
receiver
(nr_double_t *, nr_double_t,
int
);
45
46
// external functionality
47
vector
*
receiver
(
vector
*,
vector
*,
int
len = -1);
48
49
}
// namespace
50
51
#endif
/* __RECEIVER_H__ */
Generated on Tue Dec 25 2012 14:30:35 for My Project by
1.8.2