Generate numerical phantoms.
Project description
Installation
pip install phantominator
About
Python package for easy generation of numerical phantoms. I often need a simple image to try something out on. In MATLAB, I would use the phantom command to quickly get something to work with. In Python, it’s not quite so easy, so I made this package that’s quick to install and use so there’s as little friction as possible. There are other implementations of Shepp-Logan available from other projects, but they are usually not as easy to install or include other things that I don’t want for this project.
Usage
Basic usage:
from phantominator import shepp_logan
ph = shepp_logan(128)
Also see the examples module. The interface is similar to MATLAB’s phantom function.
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
Built Distribution
Hashes for phantominator-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b68b40c6fcad1a1a0800b1795b759daa0551d121e8462d3debbf25c2c92ef9e |
|
MD5 | cc0ac35d88d8e8b61c282c2b19eaeb8f |
|
BLAKE2b-256 | 4219d3c9b2aded6d73091d8c47ce7464025264b3b42020e1834035ad03244940 |