Skip to content

Releases: reflectometry/refl1d

v0.8.16

24 Apr 16:59
Compare
Choose a tag to compare
  • fixed PolarizedQProbe.calc_Q (should not call PolarizedNeutronProbe._calculate_union)
  • added self-extracting self-contained folder install for Windows (see releases page)
  • added Error-in-Variables examples (see doc/examples/eiv folder)
  • fixed shouldn't show unpolarized data in spin-asymmetry (SA) view (thanks, @purnimab)

unstable

23 Nov 20:09
Compare
Choose a tag to compare
unstable Pre-release
Pre-release

A persistent prerelease where build artifacts for the current tip will be deposited

Last updated: Fri Aug 16 2024

v0.8.15

18 Nov 19:18
Compare
Choose a tag to compare

For windows, download Refl1D-0.8.15-self-extracting.exe and run it to extract the archive. Go to the extracted directory and click on refl1d_gui.bat. This will open a dialog saying that the application is untrusted with a "Don't run" button at the bottom. Click on "more info" and a "Run anyway" button will appear.

Use pip install refl1d wxpython to install Refl1D in your python environment.

For OSX on an M1/M2 processor, you must install wxpython from conda.

  1. conda create -n refl1d
  2. conda activate refl1d
  3. conda install python=3.9
  4. conda install wxpython numba
  5. pip install bumps refl1d
    Then you can start the refl1d GUI from the command line with pythonw -m refl1d.main --edit

2021-11-18 v0.8.15

  • preliminary support for theta_offset in PolarizedNeutronProbe
  • preserve manual zoom view on R during fits
  • fix wx and matplotlib bug (setTitle)
  • use numba JIT for reflectometry kernel, convolve, etc (replacing all uses of C/C++ extensions)
  • (this results in a pure Python wheel)
  • use magnetic_smooth_profile in "record_point", same as is done for non-magnetic profiles
  • FunctionalLayer can now accept lists of parameters
  • oversampling helper added (currently called refl1d.oversampling)
  • much faster "Model Uncertainty" view calculation for large profiles
  • update to bumps 0.8.1

v0.8.14

09 Feb 23:05
Compare
Choose a tag to compare

For windows, download Refl1D-0.8.14-exe.zip and extract the archive. Go to the extracted directory and click on refl1d_gui.bat. This will open a dialog saying that the application is untrusted with a "Don't run" button at the bottom. Click on "more info" and a "Run anyway" button will appear.

Use pip install refl1d wxpython to install Refl1D in your python environment.

2021-02-09 v0.8.14

  • numba included in windows zipped executable
  • use numba rather than C++ for fast polymer calculations
  • wheels now built with stable ABI (one wheel per platform for all Python > 3.2)
  • drop py27 support for compiled modules
  • tolerance adjusted on polymer_test to account for sensitivity to input parameters
  • display of chisq in plot window works again
  • fix selection mask for load4 to work on theta and lambda as well as Q and R
  • use github actions to build wheels and deploy

See CHANGES.rst for complete history.

v0.8.13

16 Dec 20:50
Compare
Choose a tag to compare

For windows, download Refl1D-0.8.13-exe.zip and extract the archive. Go to the extracted directory and click on refl1d_gui.bat. This will open a dialog saying that the application is untrusted with a "Don't run" button at the bottom. Click on "more info" and a "Run anyway" button will appear.

Use pip install refl1d wxpython to install Refl1D in your python environment.

2020-12-15 v0.8.13

  • update to bumps 0.8.0, with DREAM outlier removal and convergence tests
  • allow garefl to work with DREAM again

See CHANGES.rst for complete history.

v0.8.12

17 Nov 22:51
Compare
Choose a tag to compare

For windows, download Refl1D-0.8.12-exe.zip and extract the archive. Go to the extracted directory and click on refl1d_gui.bat. This will open a dialog saying that the application is untrusted with a "Don't run" button at the bottom. Click on "more info" and a "Run anyway" button will appear.

Use pip install refl1d wxpython to install Refl1D in your python environment.

Documentation: http://refl1d.readthedocs.org

2020-10-23 v0.8.12

  • support uniform resolution in addition to gaussian resolution
  • implement oversample() and critical_edge() for QProbe
  • support variable wavelength probes for materials mixtures
  • add irho to the profile contour plots
  • save magnetic twist contour in output directory; it is not yet plotted
  • simplify realignment usage to 'refl1d align ...'
  • improve support for complex amplitude (beam corrections, interpolation)
  • restore DREAM fitter efficiency (it should now require fewer burn-in steps)
  • restore parallel processing for GUI
  • reenable python 2.7 support

See CHANGES.rst for complete history.

v0.8.11

11 Jun 04:46
Compare
Choose a tag to compare

Documentation: http://refl1d.readthedocs.org

2020-06-11 v0.8.11

  • support list values for angle and wavelength in column data format
  • use dQ from datafile rather than calculating it from dL and dT
  • adjust dQ with sample broadening rather than calculating it from dL and dT
  • fix json output so saving the fit doesn't raise an error
  • fix functional magnetic profile so [rho, rho] is not treated as rho, theta.
  • fix plots to show magnetic angle when not the standard magnetic angle
  • fix legends when show magnetic angles on plots
  • wxpython is now an optional dependency
  • bumps: support limits=(min, max) for pm and pmp parameter ranges
  • bumps: fix --entropy command line option
  • bumps: parallel fitting suppressed in GUI for now---need to reuse thread pool

BREAKING CHANGE: default thetaM for functional magnetism changed from 0 to 270

See CHANGES.rst for complete history.

v0.8.10

18 Feb 17:46
3b9fa93
Compare
Choose a tag to compare

Documentation: http://refl1d.readthedocs.org

2020-02-18 v0.8.10

  • add --checkpoint=n to save mcmc state every n hours.
  • hide resolution bars using Probe.show_resolution = False in your model.py
  • fix residuals, fresnel, logfresnel, and q4 plots when interpolation is used
  • fix error contour save function: rhoM was not being written
  • fix simulation error: theory and simulated data were sharing the same vector
  • fix doc generation: now builds with sphinx 2.4.0 and matplotlib 3.1.0.
  • python 3.8 support requires bumps v0.7.14 (released 2020-01-03)

See CHANGES.rst for complete history.

v0.8.9

15 Oct 20:17
Compare
Choose a tag to compare

Documentation: http://refl1d.readthedocs.org

2019-10-15 v0.8.9

  • json save: material and magnetism are now json objects
  • json save: include non-parameter data in save file
  • load4: accept 2 and 3 column data
  • load4: override resolution and uncertainty given (or missing) from file
  • load4: accept multi-entry data as Q probe without knowing theta/lambda
  • load4: set the data slice to load
  • load4: set default radiation to 'neutron'
  • allow fit by number density for materials
  • fix interpolation when plotting reflectivity between measured data points
  • fix bug in dQ when sample_broadening is initialized to non-zeros
  • revised installer: embedded python in zip file
  • functions to compute transmission and reflection at each layer
  • allow simulation with uncertainty from data
  • force minimum uncertainty in data to 1e-11
  • change default data view from Fresnel to log10
  • apply resolution to saved Fresnel curve
  • improved python 3 support

See CHANGES.rst for complete history.

v0.8.8

01 Mar 21:04
Compare
Choose a tag to compare

Documentation: http://refl1d.readthedocs.org

2019-03-01 v0.8.8

  • fix json save for MixedExperiments
  • save smooth magnetic profiles
  • fix abeles code to choose correct branch cut below critical edge
  • force absorption to be 0 or positive

See CHANGES.rst for complete history.