Polymer Models (Application)

This section mirrors Polymer Models (Theory), but from the practical side. For each model it provides (1) a few quick-start examples showing how to build the object and pull out the quantities you are likely to need, and (2) the full autogenerated code reference (every public method, its arguments, and return types).

If you are after the maths, parameters, and references for a model, see the theory section; if you just want to use it, you are in the right place.

Model

Class

Import

Analytical Flory Random Coil

AnalyticalFRC

from afrc import AnalyticalFRC

Freely jointed chain

FreelyJointedChain

from afrc.polymer_models.fjc import FreelyJointedChain

Freely rotating chain

FreelyRotatingChain

from afrc.polymer_models.frc import FreelyRotatingChain

Worm-like chain (Zhou)

WormLikeChain

from afrc.polymer_models.wlc import WormLikeChain

Worm-like chain (O’Brien)

WormLikeChain2

from afrc.polymer_models.wlc2 import WormLikeChain2

Self-avoiding walk

SAW

from afrc.polymer_models.saw import SAW

nu-dependent SAW

NuDepSAW

from afrc.polymer_models.nudep_saw import NuDepSAW