QPMS
Electromagnetic multiple scattering library and toolkit.
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
qpms.fieldplots.Geometry Class Reference

Public Member Functions

 __init__ (self, blk_file, half, radius)
 
 mask (self, X, Y)
 
 decorate (self, ax)
 

Data Fields

 radius
 
 half
 
 imgs
 
 cell
 

Detailed Description

The plot-window particle geometry: the disk mask (radius in
metres; None disables the masking), the dashed primitive-cell
outline for periodic systems, all in metres.

Member Function Documentation

◆ decorate()

qpms.fieldplots.Geometry.decorate (   self,
  ax 
)
Shade the masked particle images and draw the cell outline
(the axes are expected in nanometres).

◆ mask()

qpms.fieldplots.Geometry.mask (   self,
  X,
  Y 
)
Boolean mask of the particle-interior points.

The documentation for this class was generated from the following file: