dispersion_types¶ dnois.mt.dispersion_types(name_only: bool = False) → list[type[Material]] | list[str]¶ Returns a list of accessible subclasses of Material in lexicographic order. This can be used to recognize material types supported by dnois. Parameters: name_only (bool) – If True, returns class names, otherwise returns class objects. Returns: A list of subclasses of Material. Return type: list[type[Material]] or list[str]