Coder Social home page Coder Social logo

squash's Introduction

USAGE

squash.py contains the SQLite interface, through the sqlite3 module.

formats.py defines the database entry formats (DataFormat.structure), along with a parser function to process ADC pedestal/gain calibration test data.

helper.py connects the SQLite interface and the database format, and provides a few convenience functions that can be used to script access to the database.

pumpkin.py is the tkinter graphical interface.

    python pumpkin.py

analysis.py contains examples of how to process data files and draw various plots independent of the graphical interface.

REQUIREMENTS

python version 3.6 and above is required to interact with the database (including running analysis scripts), while version 3.7 and above is required to use the pumpkin.py tkinter interface.

SETTING UP A VIRTUAL ENVIRONMENT

Setting up a python virtual environment is recommended, to avoid module version conflicts with the default environment.

    ENV_DIR=<path to working directory>
    python -m venv $ENV_DIR

The virtual environment can be activated,

    cd $ENV_DIR
    source bin/activate

and deactivated (the $ENV_DIR/bin directory is placed into the $PATH upon activation):

    deactivate

INSTALLING MODULES

With the virtual environment activated,

    pip install -r requirements.txt

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.