Skip to main content

Plot the class distribution as a function of iteration from a Class2D or Class3D job from RELION

Project description

classconvergence

DOI

Plot the class distribution as a function of iteration from a Class2D or Class3D job from RELION.

This tool was tested with star files produced by RELION-3.1.0. Earlier versions of RELION are not supported.

Acknowledgments

I would not have been able to put this tool together without the starfile library.

Installation

I recommend to install this tool in a dedicated conda environment. You can create one like so (replace ENV_NAME with the name you want to give to this environment):

$ conda deactivate
$ conda create --name ENV_NAME python=3.9
$ conda activate ENV_NAME

Once the conda environment is active, you can install the tool with the following command:

$ pip install classconvergence

Usage

$ classconvergence --help
Usage: classconvergence [OPTIONS] <job_directory>

  Plot the class distribution as a function of iteration from a Class2D or
  Class3D job from RELION.

Options:
  -c, --count        Plot particle counts per class (default, same effect as
                     not passing any option).

  -p, --percent      Plot percentages of particles per class (default:
                     counts).

  -o, --output TEXT  File name to save the plot (optional: with no file name,
                     simply display the plot on screen without saving it;
                     recommended file formats: .png, .pdf, .svg or any format
                     supported by matplotlib).

  -h, --help         Show this message and exit.

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

classconvergence-1.3.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

classconvergence-1.3-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file classconvergence-1.3.tar.gz.

File metadata

  • Download URL: classconvergence-1.3.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for classconvergence-1.3.tar.gz
Algorithm Hash digest
SHA256 e60c605892694c630399a5956b0f4558f114f21638ffde8dfa99216b17fc3b04
MD5 87ecf89d7f2e16e79923b1c63dde9b25
BLAKE2b-256 02c862595988860956d1480157ef52f0c28c518cc481b241120aeaa6773debea

See more details on using hashes here.

File details

Details for the file classconvergence-1.3-py3-none-any.whl.

File metadata

  • Download URL: classconvergence-1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for classconvergence-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d57195b76c55aab4e628f294fbb87531de6114ab904bdca6be0bb3e78ebbae1b
MD5 5b725045c789db95eb06c1c4cd8d9fb7
BLAKE2b-256 f89f4462c8b3621ae46eea5d77cf71a46bb435db5c847e044e302a3f8e78695e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page