httk.atomistic.models.crystalpattern.fundamental_view

Lazy prototype-recognition view.

Classes

FundamentalDomainPatternView

Recognize a lazy standard-setting prototype view from a structure.

Module Contents

class httk.atomistic.models.crystalpattern.fundamental_view.FundamentalDomainPatternView(obj, **hints)[source]

Bases: httk.atomistic.models.crystalpattern.view_base.CrystalPatternViewBase, httk.atomistic.models.crystalpattern.fundamental.FundamentalDomainPattern

Recognize a lazy standard-setting prototype view from a structure.

Recognition accepts optional tolerance and limit_denominator values through the recognition hints.

Parameters:
  • obj (Any) – The anonymous-structure-like or structure-like source.

  • **hints (Any) – Backend-selection and recognition hints.

unwrap()[source]

Return the raw object behind the backend.

Returns:

The unwrapped source object.

Return type:

Any

unview()[source]

Return the recognized prototype as a standalone value.

Returns:

The prototype value.

Return type:

httk.atomistic.models.crystalpattern.fundamental.FundamentalDomainPattern