Skip to main content

Libraries for SAXS data manipulation and analysis

Project description

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'.

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

b21scripts-1.1.1.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

b21scripts-1.1.1-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file b21scripts-1.1.1.tar.gz.

File metadata

  • Download URL: b21scripts-1.1.1.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.6

File hashes

Hashes for b21scripts-1.1.1.tar.gz
Algorithm Hash digest
SHA256 b8c343fa25d6068f8ada0dcea3f00cdc14ef77e9c99d56ebc61fb7de0d660aca
MD5 309208249f74318fa2c1981d9811df9e
BLAKE2b-256 a304b0905ae84ddc0146bac31290bc3edc4dc5eb88b027d3195afd854df89c31

See more details on using hashes here.

File details

Details for the file b21scripts-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: b21scripts-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.6

File hashes

Hashes for b21scripts-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e4b28780d5615c0c3c5046cc8f2a3e075f2d4ecd51818c9268d92d05b207dcb
MD5 4f94a6d110d18a0b5ac85d3244c53f25
BLAKE2b-256 424eaeeeecc4d0e4e8119edb2c2eceebb2e3c28d94b72a9cd9def6c18f27516c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page