Skip to content

Add --duration and --seed flags to tremormesh-demo #1

@tylrcc

Description

@tylrcc

The demo currently uses a fixed synthetic quake. Let users vary it.

Task: add --duration (seconds) and --seed (int) arguments in tremormesh/cli.py::demo_main and pass them through to synthetic_seismogram(...).

Pointers:

  • tremormesh/cli.py (argparse block in demo_main)
  • tremormesh/synthetic.py already accepts duration and seed

Done when: tremormesh-demo --duration 90 --seed 7 runs and the values are reflected in the output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions