Python tools to run cisTEM programs and code
Project description
pycistem
Python scripts inteacting with the cisTEM package
Usage
import asyncio
from pycistem.programs.refine\_template import RefineTemplateParameters, run
params = RefineTemplateParameters(input\_file="test.mrc",template="ribo.mrc")
results = asyncio.run(run(params))
from pycistem.core import *
import matplotlib.pyplot as plt
im = Image()
spectrum = Image()
im.QuickAndDirtyReadSlice("test.mrc",1)
spectrum.AllocateSameAs(im)
im.ForwardFFT(True)
im.AmplitudeSpectrumFull2D(spectrum)
plt.imshow(spectrum)
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
pycistem-0.3.1.tar.gz
(16.2 MB
view hashes)
Built Distributions
Close
Hashes for pycistem-0.3.1-cp310-cp310-manylinux_2_27_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8728bdc9b8a58e9e4cdcdc51c33c9acfb43c3f8eb6ead280fdf2b7e699e4c77 |
|
MD5 | 8200a54750b2b5e7d2d677f584be9d4c |
|
BLAKE2b-256 | 8d76d3950fbd8df11229d3fe20931b07c3af99f354194aaaf46020b28679a2a2 |
Close
Hashes for pycistem-0.3.1-cp39-cp39-manylinux_2_27_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70c2dde62f839c2113141830f7c82e7b84864fffb17591c568419f930760631b |
|
MD5 | e68744b7ba39efc54dc122a274d8b728 |
|
BLAKE2b-256 | cabfcc75556a59c5495d20476cb1f5cd3e0c62c28907dbb9a98957ff32c99d89 |
Close
Hashes for pycistem-0.3.1-cp38-cp38-manylinux_2_27_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db0a8833d1112b656d7fba4ac50cadd196086ab9b75dfad0eb8ffc90ce7a9de7 |
|
MD5 | 621259dd86cd155c4882f30cd3ec91b3 |
|
BLAKE2b-256 | 25f61307a42fc452d030aae936337f536b268b6267d181cb8441e615ba806162 |