Giter VIP home page Giter VIP logo

fly2p's Introduction

fly2p

Tools for analyzing imaging data collected with Vidrio Scanimage software or micromanger. Loading ScanImage data relies on scanimageReader, which can be installed via 'pip install scanimage-tiff-reader'. Other dependencies are tracked using poetry.

Organization

The fly2p package contains the following submodules:

  • preproc: Some file-format specific functions that extract metadata and load the imaging data. imgPreproc.py defines a data object to hold metadata and imaging data as well as basic proporcessing functions.
  • viz: A collection of utility functions related to plotting flourescence traces and images.

In addition, the scripts folder contains notebooks that illustrate how to use functions in this module based on example files in sample (sample files are not currently pushed to repo).

Installation

I recommend using poetry to setup a custom conda environment. A helpful introduction can be found here.

  1. Clone repo, navigate into folder
  2. If you don't already have poetry, install poetry. You may need to close command window and open a new one.
  3. Create conda environment:
    conda create --name fly2p python=3.8
  4. Activate environment:
    conda activate fly2p
  5. Make sure you are in the top folder of the cloned repo, then install dependencies:
    poetry install
  6. Setup the new environment as an ipython kernel:
    conda install -c anaconda ipykernel
    then
    python -m ipykernel install --user --name=fly2p

Now you should be able to run the example notebooks in the scripts folder without problems.

fly2p's People

Contributors

dteinferno avatar hjmh avatar shivchitinous avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

fly2p's Issues

fix saving/loading of multidimensional xarrays

xarrays appear to not be saved properly to file

I use to_netcdf to save the arrays (F0stack.to_netcdf(sep.join([savepath,'F0stack.nc'])) ) and was planning to load them using open_dataset (xr.open_dataset(path2imgdat+sep+'F0stack.nc') ).

It's been a while since I debugged this, so further investigation is necessary.

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.