tsread

Read Bruker TopSpin NMR parameter files
90 Downloads
Updated 14 Mar 2023

View License

Tools to extract parameters from Bruker TopSpin parameter files (acqu, proc etc.). jcampread is too prescriptive to be used for TopSpin files because the parameter files (acqu*, proc*, etc.) don't contain XYDATA fields.
Use:
output = tsread(filename)
Returns a structure with all the parameters in a given file e.g. acqus
output = tslookup(filename, parameter)
output = tslookup(filename, parameter, value)
Returns specific parameters e.g. tslookup(..., 'D', 9)

Cite As

Geoffrey Akien (2024). tsread (https://www.mathworks.com/matlabcentral/fileexchange/71731-tsread), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on MATLAB Report Generator in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1

Now handles XYDATA properly (e.g. shapes, Difframp), and respects case sensitivity of parameter names.

1.0.1

Fixed file package

1.0.0