pyemaps.errors module

Error module for handling various pyemaps data validation and calculation failures.

Note

This module is still in active development and improvements.

exception pyemaps.errors.pyemapsError

Bases: Exception

exception pyemaps.errors.CrystalClassError(message)

Bases: Exception

Crystal object creation, validation and loading errors.

__init__(message)
exception pyemaps.errors.XTLError(fn='', message='')

Bases: Exception

XTL crystal data import errors.

__init__(fn='', message='')
exception pyemaps.errors.CIFError(fn='', message='')

Bases: Exception

CIF crystal data import errors.

__init__(fn='', message='')
exception pyemaps.errors.CellError(message)

Bases: Exception

Cell constant data validation errors.

__init__(message)
exception pyemaps.errors.CellValueError(ty=0, cn='')

Bases: CellError

Details of cell constant data validation errors.

__init__(ty=0, cn='')
exception pyemaps.errors.CellDataError(message='invalid cell data')

Bases: CellError

Details of cell constant data validation errors.

__init__(message='invalid cell data')
exception pyemaps.errors.SPGError(message)

Bases: Exception

Space group data validation errors.

__init__(message)
exception pyemaps.errors.SPGITMumberNotInRangeError(nummax)

Bases: SPGError

Space group IT number validation errors.

__init__(nummax)
exception pyemaps.errors.SPGSettingNotInRangeError(setmax)

Bases: SPGError

Space group setting validation errors.

__init__(setmax)
exception pyemaps.errors.SPGInvalidDataInputError(message='Invalid Space group data entered')

Bases: SPGError

Space group setting validation errors. Duplicate of SPGError.

__init__(message='Invalid Space group data entered')
exception pyemaps.errors.UCError(message='')

Bases: Exception

Atomc data validation errors.

__init__(message='')
exception pyemaps.errors.DPError(message='')

Bases: Exception

Kinematic diffraction pattren object creation errors.

__init__(message='')
exception pyemaps.errors.PointError(message='')

Bases: DPError

Detailed kinematic diffraction pattren object creation errors on Point object creation.

__init__(message='')
exception pyemaps.errors.LineError(message='')

Bases: DPError

Detailed kinematic diffraction pattren object creation errors on Line (Kikuchi or HOLZ) object creation.

__init__(message='')
exception pyemaps.errors.PIndexError(message='')

Bases: DPError

Detailed kinematic diffraction pattren object creation errors on Dfffracted beams Miller index object creation.

__init__(message='')
exception pyemaps.errors.DiskError(message='')

Bases: DPError

Detailed kinematic diffraction pattren object creation errors on Dfffracted beams object creation.

__init__(message='')
exception pyemaps.errors.DPListError(message='')

Bases: Exception

List of diffraction patterns create errors.

__init__(message='')
exception pyemaps.errors.BlochError(message='')

Bases: Exception

Dynamic diffraction pattern generation, creation and validation errors.

__init__(message='')
exception pyemaps.errors.EMCError(message='')

Bases: Exception

Microscope controls objects creation and validation errors.

__init__(message='')
exception pyemaps.errors.BlochListError(message='')

Bases: Exception

List of yynamic diffraction patterns errors.

__init__(message='')
exception pyemaps.errors.StereodiagramError(message='')

Bases: Exception

Stereodiagram generation errors.

__init__(message='')
exception pyemaps.errors.MxtalError(message='')

Bases: Exception

Crystal construction simulation errors.

__init__(message='')
exception pyemaps.errors.XDPImageError(message='')

Bases: Exception

Experimental diffraction pattern image object errors.

__init__(message='')