Skip to main content

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.

Release files for classconvergence 1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for classconvergence 1.3
File Size Uploaded
classconvergence-1.3.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for classconvergence 1.3
File Interpreter ABI Platform
classconvergence-1.3-py3-none-any.whl Python 3 none any Details

Total release size:9.3 kB

Release files / classconvergence-1.3.tar.gz

Download URL classconvergence-1.3.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e60c605892694c630399a5956b0f4558f114f21638ffde8dfa99216b17fc3b04
BLAKE2b-256 checksum
How to use checksums
02c862595988860956d1480157ef52f0c28c518cc481b241120aeaa6773debea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / classconvergence-1.3-py3-none-any.whl

Download URL classconvergence-1.3-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d57195b76c55aab4e628f294fbb87531de6114ab904bdca6be0bb3e78ebbae1b
BLAKE2b-256 checksum
How to use checksums
f89f4462c8b3621ae46eea5d77cf71a46bb435db5c847e044e302a3f8e78695e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

1.3 This release

2 release files

1.2

2 release files

1.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page