smeerten / ssnake

A program for the analysis of NMR data.
Other
20 stars 15 forks source link

Read DTYPA and DTYPP parameter to determine storage format: #89

Closed jtrebosc closed 4 years ago

jtrebosc commented 4 years ago

SSNake cannot read properly some topspin 4 datasets that are stored in float64 format. The pull request will add this feature. It reads DTYPA for fid/ser files and DTYPP for processed files. The dtype is updated for byteorder stored in BYTORDA and BYTORDP. Then the data are read using the right dtype. No need to fix afterwards the byte order.

smeerten commented 4 years ago

In case you have a nice example dataset in Topspin 4 format that you are willing to share, you can add it to https://github.com/smeerten/nmr_datafiles/tree/master/Bruker

jtrebosc commented 4 years ago

Hi,

I already have some example on github. For example:

https://github.com/jtrebosc/JTutils/tree/master/tests/data/qcpmg/4

Julien

Le 08/09/2020 à 15:37, smeerten a écrit :

In case you have a nice example dataset in Topspin 4 format that you are willing to share, you can add it to https://github.com/smeerten/nmr_datafiles/tree/master/Bruker

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/smeerten/ssnake/pull/89#issuecomment-688876554, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADC2WGWFZKO7HMX3ICZWL4TSEYXQLANCNFSM4Q74BPIA.