Skip to content

Commit 9cf21ec

Browse files
aris-mavarismav
andauthored
Tecmagdata (#81)
* set ax2 limits based on all of its plots, not recent one * working version, still testing * 3 sequences working, but not reading aqcu data * multiple scan option * rename file * tnt import working for CPMG * fix time unit conversion * reconfiguration, import with and without seq - WIP * working version for IR, CPMG, IRCPMG * docstring updates * more dosctring updates * replace txt with tnt files * rename example data * refactor * add docs * fix docs * rm mistake on docstring * fix filenames --------- Co-authored-by: arismav <aris.mav@hotmail.com>
1 parent 71521d0 commit 9cf21ec

File tree

23 files changed

+182
-10
lines changed

23 files changed

+182
-10
lines changed

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ LiveServer = "16fef848-5104-11e9-1b77-fb7a48bbb589"
77
NMRInversions = "55c20db2-0166-4687-95c3-62a9c7afb29b"
88

99
[sources]
10-
NMRInversions = {rev = "master", url = ".."}
10+
NMRInversions = { path = ".." }
1111

1212
[compat]
1313
Documenter = "1.8.0"

docs/src/functions.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,21 @@ That text file can be read by the `import_geospec` function.
7474
import_geospec(::String)
7575
```
7676

77+
For.tnt files from Tecmag consoles, `import_tnt`
78+
can be used. It should be noted however, that
79+
since pulse sequence implementations might vary,
80+
automatic parsing of the data into a `input1D` or
81+
`input2D` struct might fail. Therefore, the more
82+
manual `read_tnt_data` and `read_tnt_header`
83+
functions can be used for fine-tuned cases. If
84+
that sounds confusing, please submit an issue and
85+
we'll work on it!
86+
87+
```@docs
88+
import_tnt(::Type{<:Union{pulse_sequence1D, pulse_sequence2D}}, ::String; kwargs...)
89+
read_tnt_data(::String)
90+
read_tnt_header(::String)
91+
```
7792

7893
## Inversion
7994
The most important function is `invert()`, which is the main function of the package.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)