MEDYAN.FilamentSiteMask

Union{}

Filament site that matches monomer states using per-position bitmasks.

Each position in the pattern has a StateBitMask specifying which MonomerState values are acceptable at that position. A monomer sequence matches (site count = 1.0) when every position’s state is contained in the corresponding bitmask.

  • center::Int64: index of center monomer in masks
  • masks::Vector{NTuple{4, UInt64}}: bitmask per position, ordered from minus end toward plus end