Skip to main content

Neutron and X-ray reflectometry analysis

Project description

Refl1D is a program for analyzing 1-D reflectometry measurements made with X-ray and neutron beamlines. The 1-D models give the depth profile for material scattering density composed of a mixture of flat and continuously varying freeform layers. With polarized neutron measurements, scientists can study the sub-surface structure of magnetic samples. The architecture supports the addition of specialized layer types such as models for the density distribution of polymer brushes, and volume space modeling for proteins in bio-membranes. We provide a number of these models as well as supporting user defined layer types for both structural and magnetic scattering densities.

Fitting is provided by Bumps, a bayesian uncertainty analysis program. In addition to the usual uncertain estimated from the covariance at the best fit location, Bumps includes a Markov chain Monte Carlo analysis code which more completely describes the uncertain and correlations between parameters. Fitting is done in parallel, either using python multiprocessing on a multicore machine, or using MPI for running on a cluster.

Documentation is available at https://refl1d.readthedocs.io. See CHANGES.rst for details on recent changes. Information on the refl1d release process is in release notes.

Use pip install refl1d to install in your python environment.

For the windows application, follow the installation instructions on the latest release page. (For the latest bleeding-edge build, see the unstable release)

Submit requests and pull requests to the project git pages

Build status Documentation status DOI tag

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

refl1d-1.0.1.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

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

refl1d-1.0.1-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file refl1d-1.0.1.tar.gz.

File metadata

  • Download URL: refl1d-1.0.1.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for refl1d-1.0.1.tar.gz
Algorithm Hash digest
SHA256 c1ed97fa9a81fee530a336cc742e90fdda1fe362bc049b9b586aef7d93c754b3
MD5 94c1044fe4e6e05c34f43e8834a6a1fa
BLAKE2b-256 317ca50fbce7eb19af5e683162d63759c8a80cc21d9794d8cfdf568ec62ce222

See more details on using hashes here.

Provenance

The following attestation bundles were made for refl1d-1.0.1.tar.gz:

Publisher: publish-pypi.yml on reflectometry/refl1d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file refl1d-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: refl1d-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for refl1d-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8cc52121790df465e3a659d0fb0298f2501256c6f2d7fca26085927297112eb1
MD5 f5ef11710d11e8698e73ddc115e6d51f
BLAKE2b-256 fbd98f612389178e1e1800aaed85537b024ebe28b9a82fff6a015825e51a8877

See more details on using hashes here.

Provenance

The following attestation bundles were made for refl1d-1.0.1-py3-none-any.whl:

Publisher: publish-pypi.yml on reflectometry/refl1d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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