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.2a0.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.2a0-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file refl1d-1.0.2a0.tar.gz.

File metadata

  • Download URL: refl1d-1.0.2a0.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.2a0.tar.gz
Algorithm Hash digest
SHA256 32357feafd98582b75ae15b6055b319916dbcd915470eb5178a4f847a5605a39
MD5 ad5243fa758cb42a3c9b13a52b163415
BLAKE2b-256 51eeabb0c14cca95c10c5ca993436ae3e878647fcd170ddf792fd6d4aab914c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for refl1d-1.0.2a0.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.2a0-py3-none-any.whl.

File metadata

  • Download URL: refl1d-1.0.2a0-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.2a0-py3-none-any.whl
Algorithm Hash digest
SHA256 0fa7ab334b893f8874b98768bf6b345eec6e08c79c42bcc230d6e37ef046f6c8
MD5 f520f55fc716330f139d6717895a5d1c
BLAKE2b-256 d4ea09d3a168d903cfdd9f46897bdd26dfa80d1cace325e1557b8f8c6fd8f925

See more details on using hashes here.

Provenance

The following attestation bundles were made for refl1d-1.0.2a0-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