Coder Social home page Coder Social logo

placescan's Introduction

PlaceScan

Python code for interacting with scan data produced by PALab/place.

About PlaceScan

The code provided in this repository is designed to provide interaction with laboratory data acquired using PLACE: Python package for Laboratory Automation, Control, and Experimentation (see PALab/place). The PlaceScan Python object is created with the config.json and scan_data.npy files generated by each PLACE scan. Several modules support the main PlaceScan class and provide routines for plotting, re-orgainising, and arrival time picking, etc.

The modular design of the code, centred around the PlaceScan object, provides a convenient way to construct a workflow from simple scripts which perform individual tasks. These simple "control scripts" are short files which first initialise the PlaceScan object, and then call one or more object methods in a few lines to process or display the data.

Download

To download, clone the git repository by typing in a terminal:

$ git clone https://github.com/jsimpsonUoA/PlaceScan.git

Installation

placescan is installed as a Python module, so that it can be imported like any other library. Once downloaded, run the setup.py script in the PlaceScan directory by typing in a terminal:

$ python setup.py develop

After this, you should be able to import placescan into a Python script using:

from placescan.main import PlaceScan

A simple plotting example is provided, along with example data. The code has extensive documentation for all functions within main.py and the auxilliary scripts.

Note on DTW Module

The dynamic time warping (DTW) picking routines within PlaceScan rely on the Dynamic Time Warping module written by Paul Freeman and available at paul-freeman/dtw. I have modified this algorithm slightly to accommodate a cost parameter, so I have included the package with PlaceScan. However, dtw is a standalone Python module and needs to be built using the instructions within the dtw/ folder before it can be used with PlaceScan.

Contact

Author: Jonathan Simpson, jsimpsonUoA

Email: [email protected]

2019 Master of science in geophysics, Physical Acoustics Lab, The Universtiy of Auckland, New Zealand

placescan's People

Contributors

jsimpsonuoa avatar

Watchers

 avatar

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.