Python implementation of calcium imaging analysis pipeline for cardiac myocytes for Automated image analysis of cardiac myocyte Ca2+ dynamics
To install and use this package, follow the steps below:
- Clone this repository to your local machine.
git clone https://github.com/retroam/Calcium-analysis.git
- Navigate to the cloned repository.
cd Calcium-analysis
- Install the required dependencies.
pip install -r requirements.txt
- Run the scripts in the
calcium_analysis
directory. For example, to run thedata_extraction.py
script, use the following command:
python calcium_analysis/run_analysis.py
This script extracts data from regions of interest in an image stack and saves the results.
32: 5. Similarly, you can run the other scripts in the calcium_analysis
directory. Each script has a specific function in the calcium imaging analysis pipeline. For more information on what each script does, refer to the comments in the script files.
You can also run the package as a command line interface using the main function in the cli.py file. Here's the command to do this:
python -m calcium_analysis.cli --image_fld <path_to_image_folder> --save_fld <path_to_save_folder> --sd <standard_deviation_value>
Where:
--image_fld
is the path to the image folder.--save_fld
is the path to the save folder.--sd
is the standard deviation value.