GithubHelp home page GithubHelp logo

musaprog / gonio-analysis Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 7.11 MB

Goniometric motion analysis software

License: GNU General Public License v3.0

Python 99.93% Batchfile 0.07%
motion-analysis drosophila deep-pseudopupil spatial-analysis

gonio-analysis's Introduction

GonioAnalysis - A goniometric analysis program

Gonio Analysis is a specialised spatial motion analysis software, mainly for GonioImsoft's data.

In general, GonioAnalysis can be used for data following the hierarchy

data_directory
├── specimen_01
│   ├── experiment_01
│   │   ├── image_001.tif
│   │   └── image_002.tif
│   └── ...
└── ...

but special (GonioImsoft) naming scheme is needed for some functionality. Tiff files or stacks are the preferred image format.

WARNING! GonioAnalysis is still in early development!

Installing

Two installation methods are supported:

  • The stand-alone installer (Windows only)
  • Python packaging (all platforms)

Installer on Windows (easiest)

A Windows installer bundles together the Gonio Analysis suite and all its depencies, including a complete Python runtime. It is ideal for users not having Python installed before.

The installer can be found at Releases.

The installer creates a start menu shorcut called Gonio Analysis, which can be used to launch the program.

To uninstall the program, use the Windows Add or Remove programs.

Using pip (the python standard way)

The latest version from PyPi can be installed with the command

pip install gonio-analysis

This should install all the required dependencies. On Windows, OpenCV may require Visual C++ Runtime 2015 to be installed.

Some Linux distributions have separated tkinter (Python interface to the Tcl/Tk GUI toolkit) and pillow's ImageTk module their own packages that are not installed by default. Please make sure to have them installed.

# Example on Debian/Ubuntu/Mint/...
sudo apt install python3-tk python3-pil.imagetk

Launch the program by

python -m gonioanalysis.tkgui

Managing versions using pip

Upgrade to the latest version

pip install --upgrade gonio-analysis

Downgrade to a selected version

pip install gonio-analysis==0.1.2

Usage instructions

Start by opening your data directory (this should contain the folders containing the images). Next, select the regions of interest (ROIs), and then, run the motion analysis. This may take a while. The ROIs and movements are saved on disk (C:\Users\USER\GonioAnalysis or /home/USER/.gonioanalysis), meaning that this part of the analysis (ROIs and movement analysis) has to be performed only once per specimen (unless you want to re-analyse).

After the initial steps you, can perform further analyses in the program or export the data by

  1. copy-pasting the results to an external program or 2) exporting CSV files.

Many other features are present but yet undocumented.

Contributing

See also below for the project's future plans.

About the project

This program was created in the University of Sheffield to analyse the photomechanical photoreceptor microsaccades that occur in the insect compound eyes. For more information, please see our GHS-DPP methods @ Communications Biology, or visit the lab's website.

Currently, it is maintained the original developer jkemppainen. Future efforts are mainly targeted towards ease-of-use (UI redesign/cleaning, exposing settings, documentation), bug-clearing (especially with non-GonioImsoft data) and performance (cross-correlation analysis).

gonio-analysis's People

Contributors

jkemppainen avatar

Stargazers

 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.