diff ref struct Web Powder diffraction series in the browser · maps, stacks and growth curves · nothing uploaded

Start in five minutes

Start in five minutes

What your browser can do, then a folder of public data from opening to a map with its cursors pinned: every step is something you will do again on your own files.

What this browser can do

The page works in every current browser; a few things depend on which. This box asks your browser, here and now, what it supports. It measures nothing and sends nothing.

Checking this browser…

The quickest: the example in the app

The app's start page has Try the example: a heating run the core computed itself, 21 scans of a periclase (MgO) sample from 300 to 1300 K in which corundum (α-Al2O3) appears above about 1000 K, laboratory X-rays (Cu Kα1), 2θ 15–75°. It opens as if its folder had been dropped: the core proposes 21 scans by temperature, 300 to 1300 K, opens it and shows the Map. The counts are simulated, not measured, and free to use (CC BY 4.0). Read the map upwards: the periclase lines move to lower angles as the cell expands, and new lines start at 1050 K.

The example opened on the Map: 21 synthetic scans from 300 to 1300 K
Try the example: the core's proposal opened on the Map, colour on a √ scale. The periclase lines bend to lower 2θ with temperature; corundum's begin above 1000 K (clip the colour range to see them clearly).

A measured example: twenty neutron patterns of Tb2Pd2Sn

The FullProf Suite's WinPLOTR tutorial ships a folder of patterns of Tb2Pd2Sn measured at temperatures from 4 to 30 K: twenty data files in FullProf's free format (2θ from 16 to 46° in steps of 0.1°, 301 points each, a temperature in each title), two WinPLOTR buffers that list them, and one file of another kind. It is small, public and has a clear story in temperature, which makes it the right first folder.

  1. Get the folder. From the FullProf Suite's documentation page (ill.eu/sites/fullprof), download the WinPLOTR tutorial and unzip it. The folder 1_Tb2pd2sn is the one used here.
  2. Open the app at jmigartua.github.io/diff-ref-struct-web. The chip at the right of the bar should read core 0.81.0 in WebAssembly (or later).
  3. Open Folder… and choose 1_Tb2pd2sn (allow the browser to view the files), or drag the folder onto the page. The tree lists 23 files, 56 kB. Click kinds above the tree: the core says what each file is — 20 in Free format: Ti, step, Tf, then the intensities, 2 list of file names (.buf), and winplotr.mlf not recognised by a reader.
  4. Sets in this folder shows the core's proposal: 19 scans by temperature, 4 to 30 K, and under it tb_t01.dat left out (no temperature and no time). You could open it with Open; here, double-click Tb_vs_T.buf in the tree instead: the WinPLOTR buffer opens with its 20 members, their temperatures read from the files' titles (hover a member for the source, e.g. the title's "T.=.4.K"). tb_t01.dat has none and is drawn apart.
  5. Stack: each pattern raised by the step the core proposes (Δy 2000 per member, the core's proposal), labelled 4 K … 30 K. The patterns change between about 20 and 25 K.
  6. Map, then colour log. The core's range is 2.957 to 4.837 log10 counts. Drag the two marks on the colour bar (or Range…) to 3.2 and 4.5: the background goes dark and weak peaks come up.
  7. Read the map. The strong peaks near 19.2, 26.7, 32.6 and 42.2° are bright up to 21 K and fade above; between about 22 and 24 K weaker peaks show near 25.6, 27.6, 30.8 and 34.2°; above about 25 K little is left.
  8. Cursors, then click on the map at a peak to pin them: the row strip below shows that temperature's pattern, the column strip at the right that angle's intensity against temperature.
  9. Drag a rectangle around 24–36° and 4–30 K to zoom, then Save region… and name it. Copy the page's address: it holds the set, the view, the scale, the zoom and the clip. Reload, open the folder again, and the view comes back.
The stack of the Tb2Pd2Sn patterns
Step 5: the stack, each pattern labelled with its temperature, the step proposed by the core. tb_t01.dat, with no temperature, is drawn apart at the top.

Your own files

The same steps on your data. Three things to know first:

  • Text formats are read in the browser: .xye, .xy, .dat in FullProf's and the instruments' layouts, GSAS, CSV, XRDML, RAS, Fit2D/pyFAI .chi, powder CIF and more (the list). Binary files (Bruker RAW, BRML, RASX, HDF5) are not, in this version.
  • A temperature or a time in the files' names lets the core place them without help: _300K, T300, T0900C, t16530s. A header that states it works too. A value can always be typed, with its source.
  • Chrome, Edge or Arc give live mode (a folder read again as scans arrive); Firefox and Safari read the folder once.

Then the recipes for the analysis you have in mind, and the manual for every control.