Giter VIP home page Giter VIP logo

fzvis's Introduction

Tutorial

Prerequisites

  1. docker
  2. docker-compose

Project setup

git clone https://github.com/YuxiaoLi1234/fzvis.git
cd fzvis
run `docker-compose up`

Compiles and hot-reloads for development

Set up configure

enter your ip address and port in config.json

run `npm run serve` to start vue.
run `pip3 install -r requirements.txt` to setup the python enviroments.
run `python3 src/components/main.py` to run the backend code.
The dashboard should look like this figure.

image

Workflow

run compressor:

enter the configuration and also the absolute path of your input file. After you have configured all the options, press the Enter key. image

compresoor_id: Please enter the compressor that is supported by libpressio.
You can upload load your file by the fileloader (you can also download the example data "inputfile500.npy/inputfile1000.npy" in the file.
early config: Please include your input with single quotation mark, if you are going to include a path in your configuration, please make sure you entered the absolute path.
compressor_config: Please include your input with single quotation mark. 

compressor_name: The name for this configuration of compressor.
  • After running all the compressors you need for visualization, click draw on module D.
  • The reuslt in module D should be like the figure below:
image
  • You can add a new compressor by enter the configuration in module A, remember to click the button Draw in module D to get the new result.

Interaction usage:

Compare Matrics among Compressors.

  1. After running all compressors, you need to click on the name of the compressors you want to compare:
image
  1. Click on the compressor_compare button, the result shoule be like the figure below:
image

(click on the all_compressor button to return to the visualization of barcharts of all of the compressors) 3. Then you could interactively select the parameter and compressor you want in module B.

Input Data Vis:

  • After running the compressors, you can visualize the slice of your input data in module C.
  • Make sure that you input your slice_id, format of your inputdata.
  • Click on the DataVis button to visualize your data.
  • There is a defaultcolormap selector on the top left. You can also add control points by clicking on the colormap for the colormap (under the mode of "add_points")/ drag the existing control points (under the mode of "use current control points").
image

fzvis's People

Contributors

yuxiaoli1234 avatar

Watchers

 avatar

Forkers

hguo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.