Materials, crystallography and data integrity
What the data say·what the material is·what it will do
I analyse and check materials data: which phases are present, whether a crystal structure is physically credible, how a battery cell is ageing, and whether a dataset can be trusted. If you don't have the instrument, I can arrange the measurement, from lab X-ray diffraction and Raman to neutron diffraction at a national facility. When the same job needs doing every week, I build you the tool to do it. Either way, you get the working behind the answer and a plain statement of what the data cannot tell you.
SectorsBatteries and energy storage· ceramics, cement and minerals· nuclear materials and wasteforms· pharmaceutical and food solids· analytical labs and start-ups· publishers and databases· AI and materials data· university research groups
Ways to work with me
Four ways in, depending on what you already have.
A second opinion
A refinement nobody quite trusts, a referee's comment, a database entry or a result that looks too good to be true. I look at what you have and tell you what I think, and why.
You get: a call and a short written note.
Analysis and checking
Diffraction patterns, Raman spectra, cycling files or crystal structures, from one file to many thousands. I work from the raw files where I can, and check the results against physical limits.
You get: the analysis, the working behind it, and what the data cannot tell you.
Diffraction· Battery data· Structure validation· Data-integrity audits
A study built round your question
I design the measurements, arrange them at UK and European facilities, and analyse the results. Screening first can narrow down what's worth making.
You get: data collected for your question, and the answer.
Tools and training for your team
The same analysis every week, or a skill your team needs. I build the tool, test it against answers you already know and hand it over, or train the people who'll do the work.
You get: tested code or course materials, yours to keep.
Where people usually start
Open one to see how I'd approach it.
The refinement converges, but I don't believe it.
Convergence means the refinement has stopped moving, not that the model is right. Before I call a refinement finished, I check:
- The difference curve, first. It should be flat and featureless. A wiggle at every peak points to the peak shape or the cell; a peak with nothing under it points to a missing phase.
- The statistics, in context. Rwp against the expected Rwp, not on its own. A χ2 close to 1 from noisy data says little, and R factors can't be compared between datasets.
- The chemistry. Sensible bond lengths and angles, bond valence sums, positive displacement parameters and physical occupancies.
- Stability. The same answer from different starting points, with strongly correlated parameters handled with care.
- When it's done. The shifts are negligible, the difference curve has nothing left to explain, and adding parameters no longer improves the fit in a way the data can support.
Further reading: McCusker et al., Rietveld refinement guidelines (J. Appl. Cryst., 1999); Toby, R factors in Rietveld analysis: how good is good enough? (Powder Diffr., 2006).
A referee wants an analysis our software can't do.
Usually it's one of three things: a refinement the referee doesn't trust, a quantity your software doesn't calculate (size and strain separated properly, say, or a bond valence check), or a test across a whole dataset.
I do the analysis, write the method up so you can quote it in your response to the reviewers, and hand over the files. Revisions come with deadlines, so tell me yours at the start.
We have four hundred cycling files and a meeting on Friday.
I analyse the whole set in one go: capacity, efficiency and retention for every cell, the redox peaks in differential capacity tracked over each cell's life, and a comparison of replicate cells that declines to pick a representative when they disagree.
You get figures for the meeting and a table of every cell, so the outliers are visible instead of averaged away. It reads Neware exports today; other cyclers' formats on request.
Is this structure from the database actually right?
Often not. In a published survey of rock salt structures, only about half of those measured at ambient conditions passed a bond valence check.
I check bond valence sums, electrostatics and geometry, compare the entry with other determinations of the same compound, and go back to the original paper when something looks wrong. You get a verdict on the entry and, if it's wrong, the most likely error: a mistyped cell parameter, a misassigned site or the wrong setting.
Someone in the group wrote a script. Nobody else can run it.
I read it, test it against answers you already know, and turn it into something the whole group can run: documented, with its dependencies pinned, and with error messages that say what went wrong and how to fix it.
If it turns out to be quietly wrong, you'll hear that first.
Could this data have been generated rather than measured?
Appearance won't settle it: in a blind survey of 250 scientists, most AI-generated microscopy images were spotted no better than chance.
The checks rest on things a fake has to get right all at once: raw files and their metadata, counting statistics, physical limits, and agreement between techniques. I report the evidence and how strong it is, not intent.
Who it's for
Open the one that fits you to see the work I usually do for that group.
R&D teams in batteries, ceramics, cement and minerals, and pharmaceutical solids
You have instruments and good people, and a question that sits just outside what your team does every day: an unexpected phase, a refinement nobody quite trusts, a capacity fade that needs explaining before the next design review.
Typical work
- Phase identification and quantification after a formulation or process change
- Rietveld refinement of structures, site occupancies and dopant sites
- Diagnosing degradation from cycling data and post-mortem diffraction
- Polymorphs and phase transformations in pharmaceutical solids (case study)
- Phase analysis of clinker and other cementitious materials
Relevant experience
- Battery electrode materials research since 1999, lithium- and sodium-ion, including operando diffraction on a laboratory instrument (case study)
- Neutron diffraction of lithium-ion conduction pathways at the ISIS Neutron and Muon Source (Chem. Mater., 2011)
- Spinel, pyrochlore and dielectric ceramics, from synthesis to structure (case study)
- Supervised a doctoral project on magnesium oxide in Portland cement clinker (Cem. Concr. Res., 2026; case study)
- Polymorphism and phase transformations of pharmaceutical compounds, and structure determination of a pharmaceutical salt from synchrotron powder data
Analytical labs and start-ups without a crystallographer on staff
You can collect the data. Interpreting it, or defending the interpretation to a customer or an investor, is a different job.
Typical work
- Second opinions on phase identification and quantification reports
- Method development: sample preparation, preferred orientation, amorphous content
- Quality checks so routine analysis doesn't drift over time
- Training your staff until they no longer need me
- Instrument and facility planning: what to buy, and what to send out
Relevant experience
- 17 years running a multi-user diffraction facility: eight instruments, more than 300 users
- Characterisation for more than 20 external organisations
- Taught Rietveld refinement to academic and industrial users for over a decade
- Led a successful bid for a benchtop X-ray diffractometer, still a working instrument
Publishers, journals and database providers checking what they publish
Crystal structures and figures that look fine can still be physically implausible, and AI tools have made convincing fakes cheap. Checking by eye isn't enough.
Typical work
- Screening crystal structures for bond valence and electrostatic plausibility, one paper or a whole database at a time
- Checking diffraction and battery data in submitted manuscripts against raw files
- Designing quality flags and checks for deposition
- Guidance for reviewers on what to ask authors for
Relevant experience
- Systematic bond valence screening of rock salt structures in the Inorganic Crystal Structure Database (Dalton Trans., 2026)
- Quantitative assessment of the spinel family (J. Am. Ceram. Soc., 2026) and of the oldest database entries (Acta Cryst. B, 2026)
- An active programme reporting flawed database entries for correction
- Peer reviewer for journals including Nature Communications, Chemistry of Materials and Inorganic Chemistry; Editor, Data in Brief; Editorial Board, Batteries
AI and data companies that need domain checks on materials data
Models trained on materials data inherit its errors, and generated structures can be fluent nonsense. Physical checks catch what loss curves don't.
Typical work
- Auditing training sets of crystal structures for physical plausibility
- Checking generated structures and predicted properties against bond valence, electrostatic and crystallographic constraints
- Automated quality gates built into your data pipeline
- Testing whether your pipeline can be fooled by plausible fakes
Relevant experience
- Data integrity in materials science in the era of AI (J. Mater. Chem. A, 2026)
- Invited viewpoint on raw data as the verification layer for AI-driven discovery (ACS Omega, 2026)
- Open-source tools for validating crystal structures at database scale
- Lead of the UKOMAIN Materials Discovery Interest Group
Services
Most of this work sits between two expensive extremes: first-principles calculation, which needs time and specialist skills, and trial and error in the lab, which needs more of both. Physics-based checks and screening fill the gap.
Powder X-ray diffraction
Phase identification, quantitative phase analysis by the Rietveld method, structure refinement, and troubleshooting when a refinement refuses to behave. Data from any instrument, in any format.
What's in a report
- Fitted patterns with difference curves, so you can see the fit, not just the statistics
- Refined parameters with their uncertainties, and the agreement indices with what they do and don't tell you
- Phase fractions, and how amorphous or unidentified content was handled
- Refined structures as CIF files
- The software (GSAS or GSAS-II) and every constraint used, so the work can be repeated
- A plain statement of what the data can't tell you
You get: fitted patterns, refinement statistics and a verdict in plain English.
Raman spectroscopy
Phase and polymorph identification, disorder in carbons, and mapping across a sample. Raman sees local bonding, so it works on amorphous and poorly crystalline material that diffraction struggles with, and pairs well with it when one technique alone is ambiguous.
You get: assigned spectra, maps where they help, and what they mean for your material.
Measurement, when you don't have the instrument
I'll find the measurement that answers your question, starting with the cheapest one that can. There are four steps, and most questions stop at the first.
- Lab X-ray diffraction and Raman, contracted from UK facilities: phase identification, screening, and finding out whether you need more.
- Synchrotron diffraction by the hundred, through a high-throughput mail-in service at European synchrotrons: many samples, standard measurements, trace phases, and no proposal to write.
- Synchrotron experiments built for the question: in situ, operando and specialist set-ups, through a facility's industrial access route. The ESRF in Grenoble or Diamond in Oxfordshire; Diamond closes for an upgrade from late 2027, and the ESRF covers the gap.
- Neutrons and muons at ISIS: where the light atoms are, how fast ions move through a solid, magnetic order, and whole devices measured as they work.
Where a facility contracts with you directly, you pay it and I charge for my time. Where I book the measurement, charges are passed on at cost with a small handling fee, quoted before anything is booked. Paid industrial access keeps your results confidential.
Neutrons see what X-rays miss. X-rays scatter from electrons, so heavy atoms dominate: lithium almost vanishes and oxygen is weak beside nickel, and neighbouring transition metals look like twins. Neutrons scatter from nuclei, with strengths that vary irregularly across the periodic table.
I've led neutron, muon and synchrotron experiments since 2010, and sat on the ISIS crystallography beamtime panel from 2022 to 2026, so I know what makes a facility experiment work.
You get: the right measurement for your question, the data, and the analysis to go with it.
Screening before synthesis
Before you make a new composition or dopant, check whether the structure is likely to hold together. I build a trial structure for each candidate and check it with bond valence and electrostatic screening, using my tools Eir and MaplePy, so compositions likely to be over- or under-bonded drop down the list before anyone makes them. It's quick, cheap and physics-based: a filter before the lab, not a replacement for first-principles calculation.
You get: a ranked shortlist, with the reasoning behind each call.
Structure and database validation
Bond valence sum and global instability index (GII) screening of crystal structures, one at a time or thousands at once, using Eir, my open-source validation tool. Client work uses the structures you supply and open databases such as the Crystallography Open Database. In a published survey of rock salt structures, only 255 of the 502 measured at ambient conditions (50.8%) had bond valence sums within 10% of the expected valence and 0.1 valence units.
You get: every structure cleared or flagged, with the reason. Worked example: checking the database everyone builds on.
Battery materials and cycling data
Capacity, efficiency and retention, differential capacity (dQ/dV) with redox peaks tracked over each cell's life, and comparison of replicate cells; structural characterisation of electrode materials, including operando and in situ methods. Neware exports today; other cyclers' formats on request.
You get: figures ready for a report or paper, and the numbers behind them.
Data-integrity audits
Checks on raw instrument files and processed results, screening for manipulated or AI-generated data, and quality gates for automated or AI-assisted analysis pipelines. I report the evidence and how strong it is, not intent; decisions about misconduct belong to your own processes.
What gets checked
- Raw files against processed results: do the published numbers follow from the data?
- Diffraction data: counting statistics, backgrounds and instrument metadata that should agree with each other
- Battery data: capacities, coulombic efficiencies and voltages within physical limits, and cycling records that behave like real cells
- Crystal structures: bond valence, electrostatic and geometric plausibility
You get: a findings report you can act on, or show a referee.
Analysis tools built for your data
Python tools for the jobs your software won't do: reading awkward instrument files, batch-processing thousands of datasets, and running the same checks every time instead of when someone remembers. Complex data is fine. Half my life in Scotland and half in Yorkshire has left me with little patience for software that looks polished and won't bend to the job, so I build for function: tools that do what you need, flex when the question changes, and fail loudly rather than silently.
WavelengthMissing: 3 of 412 files record no wavelength:
run_031.xy, run_207.xy, run_388.xy
Refusing to guess. Add it to the file header or pass wavelength=...
The kind of error message you get: it names the problem, the files and the fix.
You get: working, tested Python (a script, notebook or small app) that your team can run and change, plus a handover session.
Websites, teaching aids, and interactive figures
Websites for research groups, projects and facilities; teaching aids that let students try an idea rather than read about it; and figures that do more than sit on the page, like the unit cell at the top of this one. I build them as plain files you can edit yourself and host for next to nothing, so nothing goes dark when the grant ends or the student who built it leaves. Readable type, dark mode and figures described for screen readers come as standard.
Try an example: NiO diffraction explorerChange the lattice parameter, crystallite size and X-ray source, and watch a powder pattern respond.You get: a working site or resource you own outright, the source files, and a short guide to changing it.
Training
Rietveld refinement courses, methods training for your team, and quality frameworks for analysis tools built with AI coding assistants.
You get: sessions on site or online, with materials your team keeps.
Case studies
Examples from my own research, so you can see the working and read the papers behind it. Client work stays confidential.
Checking the database everyone builds on
Hundreds of structures checked automatically, and the failures read as evidence, not verdicts.
Read the case study CementHow much magnesium can cement clinker take?
Four laboratory clinkers, four minerals with four different limits, and periclase where the limits run out.
Read the case study Battery materialsWatching a battery charge, without a synchrotron
A laboratory instrument, a cell with a window, and a known answer to test it against.
Read the case study Pharmaceutical and food solidsThree crystal forms, and crystals that jump
One compound, five ways of watching it, and two published structures that turned out to be different forms.
Read the case study CeramicsA new compound that would only form at one composition
Forty-three recipes, one new phase, and a crystal structure that beat the alternatives.
Read the case studyHow it works
Tell me the question
A few lines on the material, the data you have, and the decision the answer feeds. No confidential data yet.
Scope and quote
Start with a short message. If it's work I can take on, a free call to scope it, then a written scope with a fixed price before any work starts. A confidentiality agreement if you need one.
Analysis or build
From your raw files wherever possible; processed data alone limit what anyone can check. Tools are tested against answers we already know.
Report and handover
A written report or working code, the reasoning behind it, and a call to go through it together.
Record
Published work links to its source.
- 17 years running a multi-user X-ray diffraction facility: eight diffractometers, more than 300 users
- Characterisation for more than 20 external organisations, including battery, pharmaceutical, metals and gemstone clients
- Taught Rietveld refinement to academic and industrial users for over a decade
- Principal investigator on neutron, muon and synchrotron beamtime at the ISIS Neutron and Muon Source and Diamond Light Source
- Inside Energy Storage Materials: Diffraction and Spectroscopic Methods for Battery Research, sole author (AIP Publishing, 2022)DOI
- Automated bond valence sum screening of rock salt structures in the Inorganic Crystal Structure Database: of 502 measured at ambient conditions, only 255 (50.8%) passed (Dalton Trans., 2026; HOT article)DOI
- The structure of spinels: a quantitative assessment of the AB2X4 family (J. Am. Ceram. Soc., 2026)DOI
- Data integrity in materials science in the era of AI (J. Mater. Chem. A, 2026), which led to an invited keynote on building analysis software with AI coding assistants without losing rigour (Winter Crystallography Meeting, 2025)DOI
- Open-source tools for structure validation, electrostatic energies and crystallite size, released under the MIT licence
- Facility Access Panel (crystallography), ISIS Neutron and Muon Source, 2022–2026; Editor, Data in Brief; Editorial Board, Batteries
What this isn't
Accredited testing
Where a regulator or contract needs ISO/IEC 17025 results, I'll say so and point you to an accredited lab.
A testing house
I arrange measurements to answer a question. For the same test on the same kind of sample, week in, week out, a contract lab will serve you better.
Expert-witness work
Court and tribunal work carries its own duties. I don't take it on.
A rubber stamp
If the data can't support the conclusion you were hoping for, the report says so.
Questions
Can you work under a confidentiality agreement?
Yes. Your data and results stay yours, and nothing about your work appears on this site without your written agreement.
Do you need raw data?
Ideally. Raw instrument files let me check things processed data can hide. If processed data are all you have, I'll tell you what that limits.
How long does a Rietveld refinement take?
Longer than anyone hopes. Stephens' Law says a refinement is never finished, merely abandoned; I'll tell you when yours has reached the point where stopping is the right call.
Do I get the code?
Yes. You get the source, the tests and a short guide, so the tool stays useful after I've gone. Ownership and licence are agreed in the scope before work starts.
Do you use AI to write code?
Yes, as a fast assistant rather than an author. Everything is tested against known answers before you see it, and I'll tell you how it was built. I've written and spoken about where this goes wrong, which is why the testing isn't optional.
Can you check data produced with AI tools?
Yes, and it's an active research area for me. In a blind survey of 250 scientists, most AI-generated microscopy images were spotted no better than chance (Nature Nanotechnology, 2025), so the checks have to rest on physics and raw files rather than appearance.
Describe your problem
Tell me about the material, the data and the question in a few lines; the email opens with headings to fill in. If it's work I can take on, I'll suggest a call to scope it. Please don't send confidential data until we've agreed terms.