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

Uploaded Python 3

File details

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

File metadata

  • Download URL: refl1d-1.0.2b1.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.2b1.tar.gz
Algorithm Hash digest
SHA256 801aec428a568dd5fd56c8071c24f95be0e692f354785443a71c23dd171574fd
MD5 6d394283779efd0550ee4a12320af103
BLAKE2b-256 c652c05f53a110009f542c7e97e60b866f9be28765db5ef94d956000da227cbf

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: refl1d-1.0.2b1-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.2b1-py3-none-any.whl
Algorithm Hash digest
SHA256 02e9d4e8778ad14372dcefa0cca510f856ba2d8766bf671fc50fb995d7cfbda3
MD5 1cde1ff4ab2703143af84a324bf542d9
BLAKE2b-256 20f5a5627dc04813f4d6d149ac8c9262fa95cf32d46eea9d437159d270587897

See more details on using hashes here.

Provenance

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