Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 2 files changed
  • 0 comments
  • 1 contributor

Showing 2 changed files with 15 additions and 0 deletions. Show diff stats Hide diff stats

  1. +4 0 FFABench2_cy.py
  2. +11 0 FFAtest.py
4 FFABench2_cy.py
... ... @@ -0,0 +1,4 @@
  1 +import pstats, cProfile
  2 +cProfile.runctx("import FFAtest", globals(), locals(), "Profile.prof")
  3 +s = pstats.Stats("Profile.prof")
  4 +s.strip_dirs().sort_stats("time").print_stats()
11 FFAtest.py
... ... @@ -0,0 +1,11 @@
  1 +from matplotlib.pylab import *
  2 +from FFABench_cy import FFABench
  3 +rep = FFABench()
  4 +fig,axL = subplots(nrows=2)
  5 +axL[1].plot(rep['P'],rep['s2n'],label='Periodogram')
  6 +sca(axL[1])
  7 +xlabel('Period')
  8 +ylabel('S/N')
  9 +legend()
  10 +draw()
  11 +show()

No commit comments for this range

Something went wrong with that request. Please try again.