Skip to main content

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

pycistem-0.4.1-cp311-cp311-manylinux_2_27_x86_64.whl (4.3 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.27+ x86-64

pycistem-0.4.1-cp310-cp310-manylinux_2_27_x86_64.whl (4.3 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.27+ x86-64

pycistem-0.4.1-cp39-cp39-manylinux_2_27_x86_64.whl (4.3 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.27+ x86-64

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