Skip to main content

Stardust: Modular Coordinate Refinement Library

Stardust is a modular library supporting coordinate refinement against experimental data: cryo-EM maps, crystallographic structure factors, and beyond.

Stardust is based on pytorch.

Structure and Vision

Stardust implements two primary abstractions:

  1. losslab. These are likelihood functions that compute the probability of some structure given a set of experimental data: p(x|D). A common interface to these losses is enforced by an abstract base class, BaseLoss.

  2. The refinementlogger, a gradient decent manager and logger. Many of the outputs of refinement are common to all refinement strategies: structures as a function of iteration, compute metrics, etc. The RefinementEngine class implements these common features and provides a foundation which specific refinement implementations can extend.

  3. A structure module that helps manage topology, coordinate, B-factor, and occupancy information. It contains a powerful Structure object in its own right, as well as code that is crucial for converting and interoperating with different coordinate representations in use.

Out of scope

Stardust does not generate or sample structures/coordinates. Stardust simply provides a likelihood (and, via torch, likelihood gradients) and a generic system for tracking progress as one seeks to optimize that likelihood.

Stardust assumes your are working with a discrete list of cartesian coordinates that represent atomic positions. Models that use densities, continous distributions, etc. are out of scope.

Metadata

Release files for rs-stardust 0.0.2

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

Source distribution (sdist)

Source distribution for rs-stardust 0.0.2
File Size Uploaded
rs_stardust-0.0.2.tar.gz 41.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rs-stardust 0.0.2
File Interpreter ABI Platform
rs_stardust-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 75.2 kB

Release files / rs_stardust-0.0.2.tar.gz

Download URL rs_stardust-0.0.2.tar.gz
Size 41.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2b87ef647895c9db01db41cb0d04d0db2edc371d0b2dc6c11b7273bae257a846
BLAKE2b-256 checksum
How to use checksums
5cafbe2139907fcd04ad6c0f09a73bab537bebbf12cdd17ab9ca1e95c3db0f65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / rs_stardust-0.0.2-py3-none-any.whl

Download URL rs_stardust-0.0.2-py3-none-any.whl
Size 33.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b82e0cd4bdc57f3dc0c2885192c8e4d98e5f81c770617269fc6dbd23dcb30f24
BLAKE2b-256 checksum
How to use checksums
52cf57c9234ddb4bd2196e9162546aab9621f8e82430f7e02beec135156c5a18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

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