Skip to main content

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.

alt text

Analysis

Get the skeletons of the A bands by running python3 get_skeletons.py -d DATA_LOCATION

alt text

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 using myoband.plotting.imshow(example_slide).
  • Gaussian noise can be added and removed (see skeleton_example.py, in which the robustness of the programme is benchmarked).

alt text

  • Contours of the A bands can be extracted. This feature is used to extract the separate A bands from the image slide.

alt text

  • Run get_skeletons.py to extract (a) a mask representation of the skeletons and (b) a list of points of the skeletons.

alt text

Copyright, 23 March 2023, Henry Joseph Sheehy. All rights reserved.

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

MyoBand-1.3.tar.gz (893.3 kB view hashes)

Uploaded Source

Built Distribution

MyoBand-1.3-py3-none-any.whl (21.3 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