Closed chatcannon closed 11 years ago
@chatcannon Chris, this looks like some great work that I would love to include in nmrglue, thanks for making this possible. Would it be possible for you to send me the .tnt files used in the tests so that I could run them myself and include them in the test_data zip file? Once I have them I'll take a look at the code in more detail and see if these is anything that needs to be cleaned up. Feel free to email them to me (jjhelmus@gmail.com) or post them somewhere and I'll download them.
Did you get the e-mail?
Yup I got the email, the code looks great. There are a few minor PEP8 issues and I'll want to add the new module to documentation. Do you want me to do those after merging or do you to clean up the code and add the lines to the documentation scripts?
Also it is alright is I include the two test files to the test_data zip file?
BTW, from the looks of the pytnt code it looks like Tecmag is doing their transform in the same manner as nmrglue's fft_norm function.
Yes, please add the test files to the zip. If you let me know what else needs doing re: documentation etc then I can do it
Merged, I made a few minor style changes and added the module to the docs in commit d812b5db9d.
Thanks for the code @chatcannon !
I've copied (with a few modifications) some code from my pytnt repository to read in Tecmag .tnt data files
I'm not entirely sure what is needed for the API so please point out any deficiencies.