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.
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.

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.
- Get the folder. From the FullProf Suite's documentation page (ill.eu/sites/fullprof), download the WinPLOTR tutorial and unzip it. The folder
1_Tb2pd2snis the one used here. - 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).
- 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), andwinplotr.mlfnot recognised by a reader. - Sets in this folder shows the core's proposal: 19 scans by temperature, 4 to 30 K, and under it
tb_t01.datleft out (no temperature and no time). You could open it with Open; here, double-clickTb_vs_T.bufin 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.dathas none and is drawn apart. - 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.
- 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.
- 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.
- 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.
- 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.

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,.datin 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.