Skip to main content

Beams Simple and Fast LIGHT simulation (bsf_light) - Fast light simulation for brain tissue using a beam-spread-function approach

Project description

Beams Simple and Fast LIGHT simulation (bsf_light) - light simulation tool using a beam-spread-function approach

Replication and improvement of original model introduced by Yona et al. 2016 [1]. Replication details and model published in [2].

software requirements:

  • python 3.x
  • numpy
  • matplotlib
  • scipy
  • pyyaml

Tested on Ubuntu 20.04 LTS and 22.04.4 LTS.

Pip installation:

pip install bsf_light

Use code for modeling light propagation in cortical tissue

  1. Define simulation parameters, example can be found under examples/default.yml and under https://github.com/CSNG-MFF/bsf_light in params/default.yml

  2. Use commandline to run simulation using the run-script provided in examples/run.py and under https://github.com/CSNG-MFF/bsf_light in scripts/run.py, providing the parameter-file defined in step 1. and the location where simulation output shall be written to: python run.py PARAMETER_FILE OUTPUT_LOCATION

References

[1] G. Yona, N. Meitav, I. Kahn, S. Shoham, Realistic Numerical and Analytical Modeling of Light Scattering in Brain Tissue for Optogenetic Applications. eNeuro 3, ENEURO.0059-15.2015 (2016). [2] To be announced.

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

bsf_light-1.0.0.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bsf_light-1.0.0-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file bsf_light-1.0.0.tar.gz.

File metadata

  • Download URL: bsf_light-1.0.0.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for bsf_light-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9af9dbc7e0589a771e96a6c8447a442196b023fa22356734d8c72a3091651b17
MD5 34e0cd0e8b80f3e793a6aaf7405d85d5
BLAKE2b-256 6d2e2d27d5db1dfa77652b540b2846a24c3afb528f90bbea9742f6c6aef8002a

See more details on using hashes here.

File details

Details for the file bsf_light-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: bsf_light-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for bsf_light-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 35931ec51fc57d0c5c1e83dec593a5116d4e5832561d4d1c0ebb1e668d956f7d
MD5 f8636f2b25d50aea69cc315bcd7bcde8
BLAKE2b-256 f36166210a6856de25c2ef1053358fa4e4d9db178d338f12cc0e22dd494326be

See more details on using hashes here.

Supported by

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