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:

  • Requires python 3.13. Dependencies will be installed automatically. See bsf_light/setup.py for details.

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.1.tar.gz (23.3 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.1-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bsf_light-1.0.1.tar.gz
  • Upload date:
  • Size: 23.3 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.1.tar.gz
Algorithm Hash digest
SHA256 347c1399bce0c65cce6ec89023bf09449d6c5f0f4f5adccd8f523498b7fc837e
MD5 81fd2d375e189fa9ea02e29337b62254
BLAKE2b-256 e9cca0c6cd852af47bbbe26f9a5c5938c5069135e1024cb90096012267e9e99a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bsf_light-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 23.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c84f0fe359874ac7414f698ecee3b3b680829adbc7f3cd74652692d65ed58f2c
MD5 0d1e5af660ef90f3256a6ea6d5a583f2
BLAKE2b-256 347e9016e999ec4b9151a6efc96b60b70160cba4c3026944f3e1784d4f042a0d

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