Cryojax

Latest version: v0.3.1

Safety actively analyzes 682487 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

0.1.4

**Full Changelog**: https://github.com/mjo22/cryojax/compare/v0.1.3...v0.1.4

0.1.3

**Full Changelog**: https://github.com/mjo22/cryojax/compare/v0.1.2...v0.1.3

0.1.2

**Full Changelog**: https://github.com/mjo22/cryojax/compare/v0.1.1...v0.1.2

0.1.1

What's changed
- Image projections using the fourier slice theorem is functioning using the ``ScatteringConfig`` called ``FourierSliceScattering`` and the ``Specimen`` called ``ElectronGrid``. This means that ``Image`` models now support jit compilation with ``jax.jit`` and functional transformations that require this, like ``jax.vmap``.
- Speedups that remove all unecessary operations on 3D voxel grids. For example, now all ``Pose``s compute translations in the same way, with phase shifts. ``Specimen``s no longer compute translations.
- Fourier conventions are now such that the zero frequency component is on the edge of the box, rather than the center.
- Rotation conventions are matched to cisTEM, along with how voxel grids initially sit in the box.

**Full Changelog**: https://github.com/mjo22/cryojax/compare/v0.1.0...v0.1.1

0.1.0

This is the first experimental release of ``cryojax``. Changes from the pre-release v0.1.0-alpha include
- Unit testing against and matched conventions with ``cisTEM``
- Support for ``Detector`` and ``Ice`` models. Each are currently treated as gaussian noise (the ``Ice`` has the CTF applied to it), but they also have more general base classes to anticipate more flexibility. ``Detector`` models treat pixel size as a model parameter.
- ``Cloud`` has been changed to ``ElectronCloud``, which is a base class of a ``Specimen``. ``Specimen`` should be general enough to add future support for imaging from atomic coordinates. ``Specimen`` can have parameters that can be evaluated in ``Image`` models, which anticipates support for models with conformational heterogeneity. They are also now JSON serializable when using the ``Specimen.from_file`` autoloader.
- ``CryojaxObject`` is the base class for ``cryojax`` serializable dataclasses. They have a ``CryojaxObject.update`` routine that searches over data fields to update them only from a dictionary. This makes loss function APIs very simple to use with JAX---after configuring a model, simply add any parameters in an ``Image`` model's ``Specimen`` or ``PipelineState`` to a dictionary, and evaluate ``Image``s at this dictionary (or apply JAX functional transformations to them).

Currently there is no documentation generated for ``cryojax``---future releases should add this as well as more thorough unit testing!

0.1.0alpha

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.