argscape#
The main ARGscape command-line interface with subcommands for visualization, serving, inference, and more.
Synopsis#
argscape [--version] [--help]
argscape <command> [options...]
Description#
The argscape command is the main entry point for all ARGscape CLI functionality. It provides subcommands for different tasks:
Command |
Description |
Requires |
|---|---|---|
|
Standalone visualization |
Base install |
|
Start web application server |
|
|
Run spatial inference |
|
|
Manage session storage |
|
|
Run performance benchmarks |
|
Global Options#
--versionDisplay the ARGscape version number and exit.
--helpDisplay help message and exit.
Commands#
viz#
Standalone visualization of tree sequences. Available with the base installation.
argscape viz INPUT [-o OUTPUT] [--mode MODE] [options...]
See argscape viz for complete documentation.
serve#
Start the ARGscape web application server. Requires argscape[spatial].
argscape serve [--host HOST] [--port PORT] [--reload] [--no-browser] [--no-tsdate]
See argscape serve for complete documentation.
infer#
Run spatial inference on tree sequences. Requires argscape[spatial].
argscape infer [subcommand] [options...]
See argscape infer for complete documentation.
load#
Manage session storage for tree sequences. Requires argscape[spatial].
argscape load [subcommand] [options...]
See argscape load for complete documentation.
benchmark#
Run performance benchmarks. Requires argscape[spatial].
argscape benchmark [subcommand] [options...]
See Benchmarking Overview for complete documentation.
Examples#
Check version:
argscape --version
Quick 2D visualization (base install):
argscape viz simulation.trees
Export to PNG (requires playwright):
argscape viz simulation.trees -o figure.png
Start web application (requires spatial):
argscape serve
Run inference (requires spatial):
argscape infer run --input data.trees --method fastgaia --output ./results
Installation Levels#
Different commands require different installation levels:
Base install (pip install argscape):
argscape viz- 2D visualization only
Full install (pip install argscape[spatial]):
argscape serve- Web applicationargscape infer- Spatial inferenceargscape load- Session managementargscape benchmark- Benchmarkingargscape viz- 2D and 3D visualization