ffsim.Spin

class ffsim.Spin(*values)[source]

Bases: Flag

Enumeration for indicating alpha, beta, or both spins.

Attributes

ALPHA

Use this to indicate spin alpha.

BETA

Use this to indicate spin beta.

ALPHA_AND_BETA

Use this to indicate both spin alpha and spin beta.

ALPHA = 1

Use this to indicate spin alpha.

BETA = 2

Use this to indicate spin beta.

ALPHA_AND_BETA = 3

Use this to indicate both spin alpha and spin beta.