Neural oscillations : two characterization algorithms and a biophysical network model