tomo3D.viewers.viewer_mrc module¶
-
class
tomo3D.viewers.viewer_mrc.
MrcPlot
(tomo_mrc=None, mask_mrc=None, points=None, boxSize=None, normals=None, binning=None, sigma=1.0, triangulation=False)[source]¶ Bases:
object
Class to visualize MRC files Input paramters:
- tomo_mrc (Path (Str) - Optional): File containing a Volume (in MRC format)
- mask_mrc (Path (Str) - Optional): File containing a Mask (in MRC format)
- points (Path (Str) - Optional): File containing a SetOfCoordinates3D (in TEXT format)
- boxSize (Double - Optional): Box size associated to points
- normals (Path (Str) - Optional): File containing a Set of Normals (in TEXT format)
- binning (Float - Optional): Binning factor to be applied to tomo_mrc and mask_mrc (Very useful to save time)
- sigma (Float - Optional): Gaussian Filter width
- triangulation (Bool - Optional): Tells if the representation of the Tomogram is Voxel based on Triangle based
- Usage:
- import MRCPlot plt = MRCPlot(tomo_mrc=tomo_mrc, mask_mrc=mask_mrc, binning=2) plt.initializePlot()