hyperspy.io_plugins.fei module¶
-
hyperspy.io_plugins.fei.
XY_TAG_ID
= 16706¶
-
hyperspy.io_plugins.fei.
convert_xml_to_dict
(xml_object)¶
-
hyperspy.io_plugins.fei.
data_types
= {'1': '<u1', '10': '<c16', '2': '<u2', '3': '<u4', '4': '<i1', '5': '<i2', '6': '<i4', '7': '<f4', '8': '<f8', '9': '<c8'}¶
-
hyperspy.io_plugins.fei.
default_extension
= 0¶
-
hyperspy.io_plugins.fei.
description
= ''¶
-
hyperspy.io_plugins.fei.
dimension_array_dtype
(n, DescriptionLength, UnitsLength)¶
-
hyperspy.io_plugins.fei.
emi_extensions
= ('emi', 'EMI')¶
-
hyperspy.io_plugins.fei.
emi_reader
(filename, dump_xml=False, **kwds)¶
-
hyperspy.io_plugins.fei.
emixml2dtb
(et, dictree)¶
-
hyperspy.io_plugins.fei.
file_extensions
= ('ser', 'SER', 'emi', 'EMI')¶
-
hyperspy.io_plugins.fei.
file_reader
(filename, *args, **kwds)¶
-
hyperspy.io_plugins.fei.
format_name
= 'FEI TIA'¶
-
hyperspy.io_plugins.fei.
full_support
= False¶
-
hyperspy.io_plugins.fei.
get_axes_from_position
(header, data)¶
-
hyperspy.io_plugins.fei.
get_calibration_from_position
(position)¶ Compute the size, scale and offset of a linear axis from coordinates.
This function assumes rastering on a regular grid for the full size of each dimension before rastering over another one. Fox example: a11, a12, a13, a21, a22, a23 for a 2x3 grid.
- Parameters
position (numpy array.) – Position coordinates of the axis. Normally as in PositionX/Y of the ser file.
- Returns
axis_attr
- Return type
dictionary with size, scale, offeset keys.
-
hyperspy.io_plugins.fei.
get_data_dtype_list
(file, offset, record_by)¶
-
hyperspy.io_plugins.fei.
get_data_tag_dtype_list
(data_type_id)¶
-
hyperspy.io_plugins.fei.
get_header_dtype_list
(file)¶
-
hyperspy.io_plugins.fei.
get_lengths
(file)¶
-
hyperspy.io_plugins.fei.
get_xml_info_from_emi
(emi_file)¶
-
hyperspy.io_plugins.fei.
guess_record_by
(record_by_id)¶
-
hyperspy.io_plugins.fei.
load_only_data
(filename, array_shape, record_by, num_axes, data=None)¶
-
hyperspy.io_plugins.fei.
load_ser_file
(filename)¶
-
hyperspy.io_plugins.fei.
log_struct_array_values
(struct_array)¶
-
hyperspy.io_plugins.fei.
mapping
= {'ObjectInfo.AcquireInfo.CameraNamePath': ('Acquisition_instrument.TEM.Detector.Camera.Name', None), 'ObjectInfo.AcquireInfo.DwellTimePath': ('Acquisition_instrument.TEM.Detector.Camera.exposure', None), 'ObjectInfo.ExperimentalDescription.Camera length_m': ('Acquisition_instrument.TEM.camera_length', <function <lambda>>), 'ObjectInfo.ExperimentalDescription.High_tension_kV': ('Acquisition_instrument.TEM.beam_energy', None), 'ObjectInfo.ExperimentalDescription.Magnification_x': ('Acquisition_instrument.TEM.magnification', None), 'ObjectInfo.ExperimentalDescription.Microscope': ('Acquisition_instrument.TEM.microscope', <function _get_microscope_name>), 'ObjectInfo.ExperimentalDescription.Mode': ('Acquisition_instrument.TEM.acquisition_mode', <function _get_simplified_mode>), 'ObjectInfo.ExperimentalDescription.Stage_A_deg': ('Acquisition_instrument.TEM.Stage.tilt_alpha', None), 'ObjectInfo.ExperimentalDescription.Stage_B_deg': ('Acquisition_instrument.TEM.Stage.tilt_beta', None), 'ObjectInfo.ExperimentalDescription.Stage_X_um': ('Acquisition_instrument.TEM.Stage.x', <function <lambda>>), 'ObjectInfo.ExperimentalDescription.Stage_Y_um': ('Acquisition_instrument.TEM.Stage.y', <function <lambda>>), 'ObjectInfo.ExperimentalDescription.Stage_Z_um': ('Acquisition_instrument.TEM.Stage.z', <function <lambda>>), 'ObjectInfo.ExperimentalDescription.User': ('General.authors', None)}¶
-
hyperspy.io_plugins.fei.
parse_ExperimentalDescription
(et, dictree)¶
-
hyperspy.io_plugins.fei.
parse_TrueImageHeaderInfo
(et, dictree)¶
-
hyperspy.io_plugins.fei.
readLELong
(file)¶ Read 4 bytes as little endian integer in file
-
hyperspy.io_plugins.fei.
readLELongLong
(file)¶ Read 8 bytes as little endian integer in file
-
hyperspy.io_plugins.fei.
readLEShort
(file)¶ Read 2 bytes as little endian integer in file
-
hyperspy.io_plugins.fei.
ser_extensions
= ('ser', 'SER')¶
-
hyperspy.io_plugins.fei.
ser_reader
(filename, objects=None, *args, **kwds)¶ Reads the information from the file and returns it in the HyperSpy required format.
-
hyperspy.io_plugins.fei.
writes
= False¶