scikits.scattpy.LayeredParticle
scikits.scattpy.LayeredParticle¶
- class scikits.scattpy.LayeredParticle(layers)¶
Class for layered particles
EXAMPLE: A layered particle consisting of a spherical core with xv = 1.2 and a Chebyshev shaped mantle with n = 50, eps = 0.035, xV = 1.4, m = 1.7 can be initialised by the following code:
- P = LayeredParticle([
- (ShapeChebyshev, {‘N’:50, ‘eps’:0.035, ‘xv’:1.4}, 1.33),(ShapeSphere, {‘xv’:1.2}, 1.7 ) ])
Methods
copy Generic (shallow and deep) copying operations. - __init__(layers)¶
Methods
__init__(layers) copy() Attributes
Nlayers g xv