/ sdr.js / exported_functions.py
exported_functions.py
 1  """
 2  This software is part of libcsdr, a set of simple DSP routines for 
 3  Software Defined Radio.
 4  
 5  Copyright (c) 2014, Andras Retzler <randras@sdr.hu>
 6  All rights reserved.
 7  
 8  Redistribution and use in source and binary forms, with or without
 9  modification, are permitted provided that the following conditions are met:
10      * Redistributions of source code must retain the above copyright
11        notice, this list of conditions and the following disclaimer.
12      * Redistributions in binary form must reproduce the above copyright
13        notice, this list of conditions and the following disclaimer in the
14        documentation and/or other materials provided with the distribution.
15      * Neither the name of the copyright holder nor the
16        names of its contributors may be used to endorse or promote products
17        derived from this software without specific prior written permission.
18  
19  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
20  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
21  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22  DISCLAIMED. IN NO EVENT SHALL ANDRAS RETZLER BE LIABLE FOR ANY
23  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
24  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
26  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29  """
30  
31  
32  exported_functions= \
33  """firdes_lowpass_f
34  firdes_bandpass_c
35  firdes_wkernel_blackman
36  firdes_wkernel_hamming
37  firdes_wkernel_boxcar
38  firdes_get_window_from_string
39  firdes_get_string_from_window
40  firdes_filter_len
41  fmdemod_quadri_cf
42  fmdemod_quadri_novect_cf
43  fmdemod_atan_cf
44  amdemod_cf
45  amdemod_estimator_cf
46  limit_ff
47  fir_decimate_cc
48  deemphasis_nfm_ff
49  deemphasis_wfm_ff
50  shift_math_cc
51  dcblock_ff
52  fastdcblock_ff
53  fastagc_ff
54  rational_resampler_ff
55  rational_resampler_get_lowpass_f
56  apply_window_c
57  apply_window_f
58  logpower_cf
59  fractional_decimator_ff
60  shift_table_deinit
61  shift_table_init
62  shift_table_cc
63  log2n
64  next_pow2
65  apply_fir_fft_cc
66  gain_ff
67  convert_u8_f
68  convert_f_u8
69  convert_f_i16
70  convert_i16_f
71  shift_addition_init
72  shift_addition_cc
73  shift_addition_cc_test
74  agc_ff
75  decimating_shift_addition_cc
76  decimating_shift_addition_init
77  encode_ima_adpcm_i16_u8
78  decode_ima_adpcm_u8_i16"""
79  
80  exported_functions_quoted=map(lambda x:"'_"+x+"'",exported_functions.split("\n"))
81  print "["+(", ".join(exported_functions_quoted))+"]"