pwem package
Subpackages
- pwem.convert package
- pwem.emlib package
- pwem.objects package
- pwem.protocols package
- Subpackages
- Submodules
- pwem.protocols.parallel module
- pwem.protocols.protocol module
- pwem.protocols.protocol_2d module
- pwem.protocols.protocol_3d module
- pwem.protocols.protocol_align_movies module
- pwem.protocols.protocol_alignment_assign module
- pwem.protocols.protocol_alignment_invertHand module
- pwem.protocols.protocol_base_flexhub module
- pwem.protocols.protocol_batch module
- pwem.protocols.protocol_boxsize_checkpoint module
- pwem.protocols.protocol_boxsize_parameters module
- pwem.protocols.protocol_classes_selector module
- pwem.protocols.protocol_create_stream_data module
- pwem.protocols.protocol_ctf_assign module
- pwem.protocols.protocol_extract_coordinates module
- pwem.protocols.protocol_mathematical_operator module
- pwem.protocols.protocol_micrographs module
- pwem.protocols.protocol_movie_eraser module
- pwem.protocols.protocol_movies module
- pwem.protocols.protocol_origin_sampling_volume module
- pwem.protocols.protocol_particles module
- pwem.protocols.protocol_particles_picking module
- pwem.protocols.protocol_pdf_report module
- pwem.protocols.protocol_projection_edit module
- pwem.protocols.protocol_set_editor module
- pwem.protocols.protocol_set_filter module
- pwem.protocols.protocol_sets module
- pwem.protocols.protocol_tests module
- pwem.protocols.protocol_tiltpairs module
- pwem.protocols.protocol_tools module
- pwem.protocols.protocol_wait module
- Module contents
- pwem.viewers package
- Subpackages
- Submodules
- pwem.viewers.filehandlers module
- pwem.viewers.plotter module
- pwem.viewers.showj module
- pwem.viewers.viewer_angular_dist module
- pwem.viewers.viewer_base module
- pwem.viewers.viewer_chimera module
- pwem.viewers.viewer_coordinates module
- pwem.viewers.viewer_fsc module
- pwem.viewers.viewer_localres module
- pwem.viewers.viewer_pdf module
- pwem.viewers.viewer_sequence module
- pwem.viewers.viewer_vmd module
- pwem.viewers.viewer_volumes module
- pwem.viewers.viewers_data module
- pwem.viewers.viewers_protocols module
- pwem.viewers.views module
- Module contents
- pwem.wizards package
Module contents
This module contains classes related with EM
- class pwem.Config[source]
Bases:
Config
- CHIMERA_OLD_BINARY_PATH = ''
- CUDA_BIN = '/usr/local/cuda/bin'
- CUDA_LIB = '/usr/local/cuda/lib64'
- EM_ROOT = '/home/buildbot/devel/scipion/software/em'
- IMAGEJ_BINARY_PATH = ''
- JAVA_HOME = ''
- JAVA_MAX_MEMORY = '4'
- MAX_PREVIEW_FILE_SIZE = 500.0
- MPI_BINDIR = '/usr/lib64/mpi/gcc/openmpi/bin'
- MPI_LIBDIR = '/usr/lib64/mpi/gcc/openmpi/lib'
- SCIPION_EM_NEW_FILE_CHECK_SEC = 10
- XMIPP_HOME = '/home/buildbot/devel/scipion/software/em/xmipp'
- class pwem.Plugin[source]
Bases:
Plugin
- classmethod getVersionFromPath(path, separator='-', default='0.0', pattern=None)[source]
Resolves path to the realpath (links) and returns the last part of the path after the separator as a Version object. If separator is not present returns None
- Parameters
path – string containing a path with a version as part of its name
separator – Optional. defaults to “-“.
default – Optional. Default version (“X.Y” string) to return if no version is found
pattern – Optional. If passed, the pattern will be used to locate the folder
:return Version object filled with version found or 0.0
- classmethod getVersionFromVariable(variable, default='0.0', pattern=None)[source]
Returns a Version instance from parsing the content of a variable
- Parameters
variable – Variable name to use and parse
default – Optional. Default value to return in case version is not found
pattern – Optional. If passed, the pattern will be used to locate the folder
:return Version after parsing the variable