pyFracAggregate Architecture

pyFracAggregate Architecture An architecture diagram generated by Archify. User code · scripts · notebooks · Architecture component User code scripts · notebooks pyFracAggregate · generate() · analyze() · Architecture component · public API pyFracAggregate generate() · analyze() public API get_generator() · legality matrix · aliases · generators/ get_generator() legality matrix · aliases PCAGenerator · CCAGenerator · BaseGenerator ABC · generators/ · seeded rng PCAGenerator · CCAGenerator BaseGenerator ABC seeded rng PlacementStrategy · solved · sampled · constructed · generators/ PlacementStrategy solved · sampled · constructed solvers.py · solve_tangency · MC touch · generators/ solvers.py solve_tangency · MC touch ScalingLaw · count (Filippov) · mass (Morán) · core/ · target L / Γ ScalingLaw count (Filippov) · mass (Morán) target L / Γ ParticleDistribution · Monodisperse · Lognormal · FixedRadii · core/ ParticleDistribution Monodisperse · Lognormal · FixedRadii Aggregate · (max, 5) array [x y z r m] · core/ · zero-copy views Aggregate (max, 5) array [x y z r m] zero-copy views analysis/ · Rg · CoM · sandbox · PCF · analysis/ · MorphologyReport analysis/ Rg · CoM · sandbox · PCF MorphologyReport io/ · YAML · VTK/VTM · PNG · MP4 · io/ io/ YAML · VTK/VTM · PNG · MP4 generate() · analyze() method × scaling × placement pca | cca place_particle() · merge_clusters() shared primitives generate() pca_step() · cca_gamma() sample(n, rng) analyze() export generators/ core/ analysis/ io/ Legend Frontend Backend Database External

Generate

  • • get_generator() validates method × scaling × placement, then dispatches to PCA or CCA
  • • One seeded numpy.random.Generator — seed= reproduces any legal coordinate

Analyze

  • • pfa.analyze() returns MorphologyReport: Rg, CoM, per-measure Df
  • • sandbox (default) or pcf estimator; pure functions, no mutation

Export

  • • YAML snapshot · VTK/VTM for ParaView · PNG/MP4 via pyvista
  • • Off-screen rendering — no display required