CrystalMapProperties#

class orix.crystal_map.CrystalMapProperties(dictionary, id, is_in_data=None)[source]#

Bases: dict

A class to store properties with in a CrystalMap instance.

This class is a thin wrapper around dict. It overrides setting and getting property arrays in the dict to handle a data mask correctly, i.e. whether data points are considered to be in the data.

Attributes:
idnumpy.ndarray

1D integer array with the id of each point in the data.

is_in_datanumpy.ndarray

1D boolean array with True for points in the data, of the same size as the data.

Methods