fourier.cpp File Reference

#include <../../nrnconf.h>
#include <math.h>
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
Include dependency graph for fourier.cpp:

Defines

#define myfabs   fabs
#define NR_END   1
#define FREE_ARG   char*
#define SQR(a)   ((sqrarg=(a)) == 0.0 ? 0.0 : sqrarg*sqrarg)
#define SWAP(a, b)   tempr=(a);(a)=(b);(b)=tempr
#define WINDOW(j, a, b)   (1.0-myfabs((((j)-1)-(a))*(b)))

Functions

void hoc_execerror (const char *, const char *)
void nrn_exit (int)
void four1 (double data[], unsigned long nn, int isign)
void twofft (double data1[], double data2[], double fft1[], double fft2[], unsigned long n)
void realft (double data[], unsigned long n, int isign)
void convlv (double data[], unsigned long n, double respns[], unsigned long m, int isign, double ans[])
void correl (double data1[], double data2[], unsigned long n, double ans[])
void spctrm (double data[], double p[], int m, int k)

Define Documentation

#define FREE_ARG   char*
#define myfabs   fabs
#define NR_END   1
#define SQR (  )     ((sqrarg=(a)) == 0.0 ? 0.0 : sqrarg*sqrarg)

Referenced by convlv(), and spctrm().

#define SWAP ( a,
 )     tempr=(a);(a)=(b);(b)=tempr

Referenced by four1(), and nrn_mlh_gsort().

#define WINDOW ( j,
a,
 )     (1.0-myfabs((((j)-1)-(a))*(b)))

Referenced by spctrm().


Function Documentation

void convlv ( double  data[],
unsigned long  n,
double  respns[],
unsigned long  m,
int  isign,
double  ans[] 
)

References i, realft(), SQR, and twofft().

Here is the call graph for this function:

void correl ( double  data1[],
double  data2[],
unsigned long  n,
double  ans[] 
)

References data, i, realft(), and twofft().

Here is the call graph for this function:

void four1 ( double  data[],
unsigned long  nn,
int  isign 
)

References i, m, n, and SWAP.

Referenced by realft(), spctrm(), and twofft().

void hoc_execerror ( const char *  ,
const char *   
)

Referenced by arayinstal(), artcell_net_move(), artcell_net_send(), assign(), KSChan::build(), BBS::cell(), check_obj_type(), chkarg(), clamp_prepare(), class2oc(), NonLinImp::compute(), Imp::compute(), connect_point_process_pointer(), delete_section(), dep_make(), distance(), dprop(), emacs_exit(), eq(), erand(), MultiSplitControl::exchange_setup(), BBSImpl::execute_helper(), fclamp(), OcFile::file(), OcFile::file_chooser_popup(), OcJumpImpl::finish(), fit_praxis(), for(), fstim(), fsyn(), OcMatrix::full(), HocCommand::func_call(), MechanismStandard::get(), get_loc_point_process(), BBS::gid_connect(), hoc_add_publiclist(), hoc_argindex(), hoc_begintemplate(), hoc_constobject(), hoc_decl(), hoc_endtemplate(), hoc_exec_cmd(), hoc_Execerror(), hoc_external_var(), hoc_fmenu(), hoc_func_table(), hoc_get_line(), hoc_getcwd(), hoc_getsym(), hoc_iterator_stmt(), hoc_name2obj(), hoc_ob_check(), hoc_ob_pointer(), hoc_obj_file_arg(), hoc_obj_run(), hoc_object_asgn(), hoc_object_component(), hoc_object_pop(), hoc_object_push(), hoc_obvar_declare(), hoc_opasgn(), hoc_ParseExec(), hoc_retrieve_audit(), hoc_spec_table(), hoc_stdout(), hoc_Symbol_limits(), hoc_Symbol_units(), hoc_vsscanf(), hoc_which_template(), hoc_xopen1(), hoc_yyparse(), HocCommand::HocCommand(), if(), install_vector_method(), ion_charge(), ivoc_get_temp_file(), ivoc_list_item(), java2nrn_class(), linmod_init(), loc_point_process(), make_mechanism(), make_pointprocess(), moreinput(), MechanismStandard::mschk(), MultiSplitControl::multisplit(), ne(), need_memb(), nernst(), net_event(), net_move(), net_send(), BBS::netpar_solve(), neuron2nemo(), nrn_area_ri(), nrn_matrix_node_alloc(), nrn_pushsec(), nrn_secref_nchild(), nrn_sectionref_steer(), nrn_solve(), nrn_spike_exchange_init(), nrn_thread_error(), nrn_user_partition(), nrn_vecsim_add(), nrnmpi_setup_transfer(), nrnmpi_source_var(), nrnmpi_splitcell_connect(), nrnpointmenu(), NrnProperty::NrnProperty(), ob2pntproc(), OcList::OcList(), parent_node(), BBSLocal::perror(), point_process_pointer(), MechanismType::pp_begin(), prexpr(), NrnProperty::prop_index(), push_section(), SaveState::read(), SaveState::readnet(), SaveState::restore(), MechanismStandard::set(), KSChan::setion(), KSChan::setligand(), KSChan::settype(), KSChan::setupmat(), shortfor(), SingleChan::SingleChan(), NonLinImp::solve(), KSChan::solvemat(), special_pnt_call(), SymDirectory::SymDirectory(), system(), System(), OcMatrix::unimp(), v_from_python(), MultiSplitControl::v_setup(), v_to_python(), vector_arg_px(), vector_resize(), vector_vec(), and SaveState::write().

void nrn_exit ( int   ) 
void realft ( double  data[],
unsigned long  n,
int  isign 
)

References four1(), i, i1, and i2.

Referenced by convlv(), and correl().

Here is the call graph for this function:

void spctrm ( double  data[],
double  p[],
int  m,
int  k 
)

References four1(), SQR, and WINDOW.

Here is the call graph for this function:

void twofft ( double  data1[],
double  data2[],
double  fft1[],
double  fft2[],
unsigned long  n 
)

References data, and four1().

Referenced by convlv(), and correl().

Here is the call graph for this function:

Generated on Mon Jun 13 08:10:28 2011 for NEURON by  doxygen 1.6.3