Skip to main content

b21scripts

Various scripts, libraries and modules to help with manipulating data and files associated with SAXS experiments and data analysis and particularly suited to the workflow at the B21 SAXS beamline, Diamond Light Source. The Repository URL is: https://github.com/nathancowieson/b21scripts The Repository can be found on PyPi: https://pypi.org/project/b21scripts/

Install via pip:

pip install b21scripts

readwrite

The readwrite libraries provied a convenient way to parse various files that might be associated with a SAXS experiment such as .dat files, .pdb files, fit files giving the fit of a model to experimental data and out files containing the output from the indirect Fourier transform as produced by the ATSAS program Gnom.


Modules

  1. readwrite.dat.DAT Functions for reading and writing files of type .dat containing three columns of SAXS data, scattering vector Q, intensity and error.

  2. readwrite.pdb.PDB Functions for reading and writing files of type .pdb. These are files describing a molecular structure of the type that might have been downloaded from the Protein Data Bank. The library can parse such a file into a dictionary and then back out to a valid pdb file. There are functions to allow atomic coordinates to be rotated or translated etc.

saxs

The saxs libraries contain functions related to calculation and manipulation of SAXS data.

Modules

  1. saxs.saxs_calc.SaxsCalc A wrapper for running either FoXS or Crysol, parsing the output to capture the Chi^2 score for use in plotting or automatically comparing fits etc. To run either of these programs they must be available on the system path as 'foxs' or 'crysol'.

Metadata

Release files for b21scripts 1.1.1

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

Source distribution (sdist)

Source distribution for b21scripts 1.1.1
File Size Uploaded Provenance
b21scripts-1.1.1.tar.gz 13.4 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 28.0 kB

Release files / b21scripts-1.1.1.tar.gz

Download URL b21scripts-1.1.1.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b8c343fa25d6068f8ada0dcea3f00cdc14ef77e9c99d56ebc61fb7de0d660aca
BLAKE2b-256 checksum
How to use checksums
a304b0905ae84ddc0146bac31290bc3edc4dc5eb88b027d3195afd854df89c31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.6

Release files / b21scripts-1.1.1-py3-none-any.whl

Download URL b21scripts-1.1.1-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7e4b28780d5615c0c3c5046cc8f2a3e075f2d4ecd51818c9268d92d05b207dcb
BLAKE2b-256 checksum
How to use checksums
424eaeeeecc4d0e4e8119edb2c2eceebb2e3c28d94b72a9cd9def6c18f27516c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.6

Security for b21scripts 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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