mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Change based on suggestion
This commit is contained in:
parent
23f71ccfad
commit
058ceda821
2 changed files with 5 additions and 7 deletions
|
|
@ -3,8 +3,8 @@ import openmc
|
|||
import openmc.capi as capi
|
||||
|
||||
|
||||
def legendre_from_expcoef(coef, domain= [-1,1]):
|
||||
"""Return a Legendre object.
|
||||
def legendre_from_expcoef(coef, domain= (-1,1)):
|
||||
"""Return a Legendre series object based on expansion coefficients.
|
||||
|
||||
Given a list of coefficients from FET tally and a array of down, return
|
||||
the numpy Legendre object.
|
||||
|
|
@ -18,8 +18,8 @@ def legendre_from_expcoef(coef, domain= [-1,1]):
|
|||
|
||||
Returns
|
||||
-------
|
||||
Legendre class
|
||||
A numpy Legendre series object
|
||||
numpy.polynomial.Legendre
|
||||
A numpy Legendre series class
|
||||
|
||||
"""
|
||||
|
||||
|
|
@ -36,7 +36,7 @@ class Polynomial(object):
|
|||
|
||||
|
||||
class ZernikeRadial(Polynomial):
|
||||
"""Create radial only Zernike polynomials given coefficients and domian.
|
||||
"""Create radial only Zernike polynomials given coefficients and domain.
|
||||
|
||||
The radial only Zernike polynomials are defined as in
|
||||
:class:`ZernikeRadialFilter`.
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
import numpy as np
|
||||
import scipy as sp
|
||||
|
||||
import openmc
|
||||
import openmc.capi
|
||||
|
||||
|
||||
def test_zernike_radial():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue