Skip to main content

High performance Optimizer to extract spike Timing And cell location from calcium imaging data via lineaR impUlse

Project description

HOTARU

High performance Optimizer to extract spike Timing And cell location from calcium imaging data via lineaR impUlse

Author

TAKEKAWA Takashi takekawa@tk2lab.org

References

Install

Require

  • python >= 3.8
  • tensorflow >= 2.8

Install Procedure (using venv)

  • Create venv environment for hotaru
python3.x -m venv hotaru
  • Activate hotaru environment
source hotaru/bin/activate
  • Install hotaru
pip install hotaru

Demonstration

hotaru sample --outdir mysample
cd mysample
hotaru config
# edit mysample/hotaru.ini if you need
hotaru trial
hotaru auto
hotaru mpeg --has-truth
  • see mysample/hotaru/figure/

Sample Video

Usage

Config and Prepare

  • Move to your workspace
cd work
  • Edit config file hotaru.ini
[DEFAULT]
imgs_path = imgs.tif
mask_type = 0.pad
hz = 20.0
tau_rise = 0.08
tau_fall = 0.16

[main]
tag = r20

[r20]
radius_max = 20.0

Check Cell Radius Stats

  • Trial
hotaru trial
  • Check peaks stats [see hotaru/figure/r20_trial.pdf]
  • Change radius_max if need
[DEFAULT]
imgs_path = imgs.tif
mask_type = 0.pad
hz = 20.0
tau_rise = 0.08
tau_fall = 0.16

[main]
tag = r10

[r10]
radius_max = 10.0

[r20]
radius_max = 20.0

Apply

  • Run
hotaru auto

Check Resutls

  • see hotaru/figure/r10_curr.pdf and hotaru/output directory

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hotaru-4.0.1.tar.gz (41.8 kB view hashes)

Uploaded Source

Built Distribution

hotaru-4.0.1-py3-none-any.whl (61.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page