Skip to main content

A library for gas phase analysis at the CXI endstation

Project description

xrayscatteringtools

A python library for the analysis of data from the CXI endstation at the LCLS.

calib submodule pertains to the geometry calibration routine

theory submodule pertains to stored ab initio patterns, iam, or geometries.

utils has a bunch of useful functions in it

xrayscatteringtools.io has anything pertaning to loading or writing data (combineRuns is in here)

plotting has anything to do with plotting.

List of all methods:

All methods should have full docstrings in the NumPy docstring standard.

  • calib
    • geometry_calibration
      • run_geometry_calibration()
      • model()
      • thompson_correction()
      • geometry_correction()
      • geometry_correction_units()
    • scattering_corrections
      • correction_factor()
      • Si_correction()
      • KaptonHN_correction()
      • Al_correction()
      • Be_correction()
      • cell_correction()
      • Si_attenuation_length()
      • Al_attenuation_length()
      • Be_attenuation_length()
      • KaptonHN_attenuation_length()
      • Zn_attenuation_length()
      • J4M_efficiency()
  • theory
    • iam
      • iam_elastic_pattern()
      • iam_inelastic_pattern()
      • iam_total_pattern()
      • iam_compton_spectrum()
      • iam_elastic_pattern_oriented()
      • iam_inelastic_pattern_oriented()
      • iam_total_pattern_oriented()
    • patterns
      • SF6__CCSD__aug_cc_pVDZ
      • SF6__HF__aug_cc_pVDZ
      • SF6__MP2__aug_cc_pVDZ
    • geometries
      • SF6__CCSD_T_DHK__aug_cc_pV5Z_DK
  • io
    • combineRuns()
    • get_tree()
    • is_leaf()
    • get_leaves()
    • get_data_paths()
    • runNumToString()
    • read_xyz()
    • write_xyz()
    • read_mol()
  • plotting
    • plot_jungfrau()
    • compute_pixel_edges()
  • utils
    • enable_underscore_cleanup()
    • azimuthalBinning()
    • au2invAngstroms()
    • invAngstroms2au()
    • keV2Angstroms()
    • Angstroms2keV()
    • q2theta()
    • theta2q()
    • element_symbol_to_number()
    • element_number_to_symbol()
    • translate_molecule()
    • rotate_molecule()
    • J4M()

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

xrayscatteringtools-0.2.0.tar.gz (341.9 kB view details)

Uploaded Source

Built Distribution

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

xrayscatteringtools-0.2.0-py3-none-any.whl (346.4 kB view details)

Uploaded Python 3

File details

Details for the file xrayscatteringtools-0.2.0.tar.gz.

File metadata

  • Download URL: xrayscatteringtools-0.2.0.tar.gz
  • Upload date:
  • Size: 341.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for xrayscatteringtools-0.2.0.tar.gz
Algorithm Hash digest
SHA256 18a9021e4406c9e99afc5aea034b6ff9da4c80ec1db3f0afe0173325ae494ed6
MD5 326504494ecab4f43b14fe568daaa741
BLAKE2b-256 e66e4c296d492ae6510461f8d2c92bbd8079cb3664a1c2afb747318ad6a9f1ca

See more details on using hashes here.

File details

Details for the file xrayscatteringtools-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for xrayscatteringtools-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f2d36e73925dafd6e058d3bcaa0f81bc0596f2f93b00a9bd562036c1e157643
MD5 25fd765e11802f07f47fddb35099907e
BLAKE2b-256 37bbed55e786a39e89516a14a26b07faedc6f002c703e5881eb0179c6f2a6b5f

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