Skip to main content

MelodieStudio

Introduction

MelodieStudio is a package developed in parallel with Melodie, which interacts with the Melodie.Visualizer module and visualizes the simulation results in the browser.

Functional Areas

As shown, the visualizer page includes three parts:

  • Toolbar
    • Including several components controlling the simulation, saving and loading custom parameter set.
  • Parameter Space
    • Listing parameters that affect the model.
    • Customizable in the model-specific visualizer.py file.
  • Canvas
    • Web-based visualization components for Grid and Network.
    • Web-based charts, including line chart, bar chart, etc.
    • Customizable in the model-specific visualizer.py file.

Here are two examples - CovidGridContagionVisual and CovidNetworkContagionVisual - using the MelodieStudio package, and they are explained in this document.

User Installation

PIP installation

pip install MelodieStudio

Run MelodieStudio

python -m MelodieStudio

If you are running a visualizer, please start the MelodieStudio in the root path of your ABM project.

Developer Installation

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Dist wheel with building webpage:

python build_web.py # build webpage
python setup.py bdist_wheel # build wheel, and include the webpage.

Technical Introduction

This project is based on Vue, Element-Plus and Echarts. Besides, the structure of project is based on Vue-Onepiece-Admin.

Metadata

Release files for MelodieStudio 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for MelodieStudio 0.7.0
File Interpreter ABI Platform
MelodieStudio-0.7.0-py3-none-any.whl Python 3 none any Details

Release files / MelodieStudio-0.7.0-py3-none-any.whl

Download URL MelodieStudio-0.7.0-py3-none-any.whl
Size 3.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
836230b953419099f2f5383b0aae82bc7be083c9d2c872de2f192efc3a274563
BLAKE2b-256 checksum
How to use checksums
d30e9323bee0b062ac5fd7952b76a08b88c9fd325c15d7d1e657a8d24becab44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Release history Release notifications | RSS feed

This release

0.7.0 This release

1 release file

0.6.0

1 release file

0.5.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page