Skip to content

Commit

Permalink
Merge pull request #25 from ratt-ru/import
Browse files Browse the repository at this point in the history
use math.factorial
  • Loading branch information
SpheMakh authored Mar 11, 2020
2 parents 1d65378 + f8b21e0 commit 8d17513
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions eidos/spatial.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env python
from util import *
from scipy.misc import factorial as fac
import math

fac = math.factorial

class Zernike(object):
"""
Expand Down Expand Up @@ -182,4 +184,4 @@ def recon_par(data):
Zi = Zernike(coeffs[1,...], idx=nolls[1,...], threshold=[thr,thr], Npix=npix, mode='jones recon')
B = Zr.recon + 1j*Zi.recon
return B


2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


PACKAGE_NAME = 'eidos'
__version__ = '1.0.3'
__version__ = '1.1.0'

setup(name = PACKAGE_NAME,
version = __version__,
Expand Down

0 comments on commit 8d17513

Please sign in to comment.