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.1.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.1-py3-none-any.whl (346.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xrayscatteringtools-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 3e49108afa5634e9b91dcd3cc9c641ac502f7d204780abfdf697dd3e649c8ae6
MD5 75a3abfde28b0fe688c4543ab8a1f026
BLAKE2b-256 7afc8481c2bad0575d12ec7912e8f3ebc92905ec1dd11946c98cfdb77805cd16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xrayscatteringtools-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 30c693cc522c827fc09a202b17a96b46eb7b713948874b924ad1f210b023812a
MD5 4d742fef431048b110df9b3050e52b7a
BLAKE2b-256 57b9da800f909a06d903d0723c1d0f7543beb439b6f27228e239d112d1e99fef

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