Function: regionFor()
regionFor(
phi,psi,regions):string
Defined in: src/mobjects/molecular/ramachandran.ts:241
The name of the first region that contains (phi, psi), or null when the
point is an outlier (outside every region).
Parameters
phi
number
The φ angle in degrees.
psi
number
The ψ angle in degrees.
regions
readonly RamachandranRegion[] = RAMACHANDRAN_REGIONS
The regions to test. Default: RAMACHANDRAN_REGIONS.
Returns
string
The region name, or null.