Skip to main content

Losses and tools for coordinate refinement

Project description

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.

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

rs_stardust-0.0.1.tar.gz (41.4 kB view details)

Uploaded Source

Built Distribution

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

rs_stardust-0.0.1-py3-none-any.whl (33.7 kB view details)

Uploaded Python 3

File details

Details for the file rs_stardust-0.0.1.tar.gz.

File metadata

  • Download URL: rs_stardust-0.0.1.tar.gz
  • Upload date:
  • Size: 41.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for rs_stardust-0.0.1.tar.gz
Algorithm Hash digest
SHA256 55dcb226d8d08a1842f5f2a42e0ba718cdde6791838acfdbc543150f2def283b
MD5 7844a977ffbdcb9322d1b1211bc79203
BLAKE2b-256 c465b5aabc8a68b1e70f99c4ee2222edbbeb91a737e22dc50ba330c3901da7c6

See more details on using hashes here.

File details

Details for the file rs_stardust-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: rs_stardust-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 33.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for rs_stardust-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2bae9965b38da579dd76ed8d70c11c6dd0a6275887b6d4a10166d07d70a3fc3a
MD5 798b30ecb36386e72bffd75d4a5258cf
BLAKE2b-256 4014580ff93c222845a8b8006f815ffde2dffaa804989f891993ef65d79edfba

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