Unified Chua Workflow
The primary pipeline for fractional-order Chua circuits.
The Unified Chua Workflow is the flagship pipeline of the library. It orchestrates the entire process of finding and classifying attractors in the fractional-order Chua circuit.
Process Flow
When executed, the workflow performs the following steps:
- Initialization: Loads the default Chua parameters and computes the , , and equilibria.
- Seed Generation: Uses
classical_seedsto generate a grid of initial conditions near the equilibria. - Integration: Uses
EFORKSolverto step the trajectories forward from to . - Pruning: Discards the initial portion of the trajectories to remove transient chaos.
- Classification: Calls
classify_basin()on each final point. - Summary: Computes the
cloud_summaryfor any non-divergent trajectories. - Export: Saves a comprehensive JSON report to the output directory.
Python API
You can trigger the workflow directly from a Python script:
from hidden_attractors.workflows.unified_chua import main
# Define the arguments just like you would on the CLI
args = [
"--q", "0.98",
"--dt", "0.01",
"--t-transient", "100",
"--t-sim", "200",
"--memory", "1000",
"--n-classical", "50",
"--output", "results/unified"
]
main(args)
Advanced Configurations
The workflow supports several advanced flags:
--system: Switch fromchua-nonsmoothtochua-arctan.--backend: Force the solver to usepythonorc.--parallel: Force sequential execution (useful for debugging).
See the CLI Reference for a complete list of arguments.