No project description provided
Project description
MyoBand
Simulation and analysis of A bands in myofibril imaging
written in Python
.
Note: if the text in the images is unreadable due to dark mode, please open them in a new tab.
Simulation
Run python3 simulation.py
to simulate A bands.
Analysis
Get the skeletons of the A bands by running python3 get_skeletons.py -d DATA_LOCATION
Details
- For A band creation see
A_band.py
in tests folder. - An A band is created by adding thickness to
a polynomial. The polynomial is created
using a random walk (see
randomwalk.py
). - A Slide is a 2D array of zeros.
A_Bands
are then added, forming a mask array. The slide can be viewed usingmyoband.plotting.imshow(example_slide)
. - Gaussian noise can be added and removed (see
skeleton_example.py
, in which the robustness of the programme is benchmarked).
- Contours of the A bands can be extracted. This feature is used to extract the separate A bands from the image slide.
- Run
get_skeletons.py
to extract (a) a mask representation of the skeletons and (b) a list of points of the skeletons.
Copyright, 23 March 2023, Henry Joseph Sheehy. All rights reserved.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
MyoBand-1.3.tar.gz
(893.3 kB
view details)
Built Distribution
MyoBand-1.3-py3-none-any.whl
(21.3 kB
view details)
File details
Details for the file MyoBand-1.3.tar.gz
.
File metadata
- Download URL: MyoBand-1.3.tar.gz
- Upload date:
- Size: 893.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c260784732fa61da93a7584a86f88b16679b620fbc8c5f39c7a426675e99a434 |
|
MD5 | 1e3d2dc540049d09c3dd33bf7d01e689 |
|
BLAKE2b-256 | 21a06abb1d02497f32f4ea470da33d88a860f974f83b5561d060ca14aada2010 |
File details
Details for the file MyoBand-1.3-py3-none-any.whl
.
File metadata
- Download URL: MyoBand-1.3-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad9463e102a241803394d0fa870e79195833965fc3d7f7e65069899b3f567ccf |
|
MD5 | 2ba9121b4baf4f2eb680cd40f143899f |
|
BLAKE2b-256 | fb5359ed191d7c3c793682460c314e8686a68f0f2ab3b61ac725479898c0a2db |