1 | What is this ? |
1.1 |
License |
2 | Installation |
2.1 | Installation, Windows 7 (and Windows 10) |
2.2 | Installation, Ubuntu 14 (Linux) |
3 |
Quick start |
3.1 | Starting program |
3.2 | Open a spectrum |
3.3 | Panning and zooming |
3.4 | Axis calibration |
3.5 | 1D: Peak picking |
3.6 | 1D: Integration |
3.7 | Annotations |
3.8 | 1D FID processing |
4 | Reference manual |
4.1 | General info |
4.1.1 | User interface components |
4.1.2 | Printing (FV) |
4.2 | Reading and writing spectra and FIDs. |
4.2.1 | Filetree: Setting paths to spectra. |
4.2.2 | Opening spectra, opening new tabs |
4.2.3 | Writing spectra and file formats (FV) |
4.2.4 | Superimposing spectra and spectrum copy concept |
4.2.4.1 | Spectrum copy concept |
4.2.4.2 | Spectrum display mode |
4.2.5 | 2D: Opening external 1D projections for 2D spectra |
4.2.6 | Opening FIDs |
4.3 | Moving around: panning and zooming |
4.3.1 | Panning |
4.3.2 | Zooming |
4.3.3 | Miscellaneous zoom/translate related functions |
4.3.4 | 2D: Zooming 1D projections |
4.4 | Axis calibration and shift scales |
4.5 | 1D: peak picking |
4.6 | 1D: integration |
4.6.1 | Defining and deleting integrals |
4.6.2 | Moving and scaling integrals |
4.6.3 | Calibration |
4.6.4 | Compensation for baseline offset and rising/falling baseline |
4.7 | Spectrum annotations |
4.7.1 | General: annotations and spectrum copies |
4.7.2 | Lines |
4.7.3 | Text |
4.7.4 | Images |
4.7.5 | Selecting objects |
4.7.6 | Zoomable and non-zoomable graphical objects |
4.7.7 | Moving objects |
4.7.8 | Scaling objects |
4.7.9 | Rotating objects |
4.7.10 | Deleting objects |
4.7.11 | Setting object color |
4.8 | 2D: Perspective presentation |
4.8.1 | Opening a spectrum (or spectra) in perspective mode |
4.8.2 | World mode: moving around |
4.8.3 | Spectrum mode |
4.8.4 | Interlocking superimposed spectra |
4.8.5 | Autorotations |
4.8.6 | View angle and perspective |
4.8.7 | Lighting |
4.9 | Spectrum processing |
4.9.1 | One dimensional spectra |
4.9.1.1 | Window functions, truncation and zero-fill |
4.9.1.2 | Fourier transform |
4.9.1.3 | Phasing |
4.9.2 | Two dimensional spectra |
4.9.2.1 | Window functions, truncation and zero-fill |
4.9.2.2 | Fourier Transform |
4.9.2.3 | Phasing |
4.9.3 | Text editing and scripting (FV) |
4.10 | Setup panels |
4.10.1 | General |
4.10.2 | Fourier transform |
4.10.3 | 2D: Z-coordinate |
4.10.4 | Annotations |
4.8.5 | 1D: Peak picking |
4.8.6 | Global setup file Constants.py (FV) |
1r, 2rr |
Files; spectrum data,
real part (2rr is for 2D spectra) |
1i, 2ri, 2ir, 2ii |
Files; spectrum data,
imaginary part (2ri, 2ir and 2ii present for
phase-sensitive 2D spectra. |
SpecPars.py |
File; spectrum parameters
in python format. While this file can be edited, it is
discouraged as editing requires knowledge both about
python and NoitaSpin internal workings. |
ViewPars.py. |
File; spectrum viewing parameters in python format. While this file can be edited, it is discouraged as editing requires knowledge both about python and NoitaSpin internal workings. |
Texts |
Directory; text
annotations in html-form. |
Pics |
Directory; unused |
fid, ser |
Files; these are FIDs,
present only in <numeric>nsp
pdata subdirectories. |
SW or F2.SW | Spectral width (sweep width) in ppm |
TD or F2.TD | Time domain data size. The size of the floating point array that i indexes. |
O1 or F2.O1 | Transmitter Frequency Offset, Hz |
BF1 or F2.BF1 | Basic transmitter frequency |
ZeroFill or F2.ZeroFill | Number of zero fill points |
LB = 1 # Line broadening in Hz.
ft = exp(-pi * i * LB / (SW * BF1)) # SW * BF1 = sweep width in Hz
SW or F2.SW | Spectral width (sweep width) in ppm |
TD or F2.TD | Time domain data size. The size of the floating point array that i indexes. |
O1 or F2.O1 O2 or F2.O2 | Transmitter Frequency Offset, Hz |
BF1 or F2.BF1 BF2 or F2.BF2 | Basic transmitter frequency |
ZeroFill or F2.ZeroFill | Number of zero fill points |
LB = 1 # Line broadening in Hz.
ft = exp(-pi * i * LB / (SW * BF1)) # SW * BF1 = sweep width in Hz
FnMODE | Method | Processing |
5 | States-TPPI | o FT in F2 o Combine slicepairs: NewComplexSlice = EvenSlice.real+OddSlice.real*1.j o Sign alternate slices NewOddSlice = OddSlice * -1 o Negate imaginary part: NewImagSlice = Slice.imag * -1 o FT in F1 |
6 | Echo-AntiEcho | o FT in F2 o Combine slicepairs: NewComplexSlice = (EvenSlice+OddSlice)+(EvenSlice-OddSlice) o FT in F1 |
A minimum of two functions should be defined in the script: Init() and Process(), both without parameters.
The Init() function is only called once per spectrum and NoitaSpin session. The Init() function should be used to initialize data structures and similar. The Init() function may be empty.
Spectrum.Points.FIDreal | FID, real part, if available, otherwise None.This is the FID that is presented in the display area. One (for 1D) or two (for 2D) dimensional numpy floating point array. |
Spectrum.Points.FIDimag | FID, imaginary part, if available, otherwise None. One (for 1D) or two (for 2D) dimensional numpy floating point array. |
Spectrum.Points.SpecReal | FID, real part, if available, otherwise None. One (for 1D) or two (for 2D) dimensional numpy floating point array. |
Spectrum.Points.SpecImag | FID, imaginary part, if available, otherwise None. One (for 1D) or two (for 2D) dimensional numpy floating point array. |
Spectrum.Points.Spec | FID, phased combination of SpecReal and SpecImag. This is the sectrum that is presented in the display area. One (for 1D) or two (for 2D) dimensional numpy floating point array. |
Spectrum.acqus.* | Acquisition parameters for the F2 (X) dimension, as members of the Spectrum.acqus object. E.g. Spectrum.acqus.TD |
Spectrum.acqu2s.* | Acquisition parameters for the F1 (XY) dimension, as members of the Spectrum.acqu2s object. Available for 2D spectra. E.g. Spectrum.acqus.TD |
Spectrum.procs.* | Processing parameters for the F2 (X) dimension, as members of the Spectrum.procs object. E.g. Spectrum.procs.SI |
Spectrum.proc2s.* | Processing parameters for the F2 (X) dimension, as members of the Spectrum.procs object. Available for 2D spectra. E.g. Spectrum.proc2s.SI |
Spectrum.SpecPath.SampleTxt() | Function that delivers the absolute path to the sample directory of the spectrum. |
Spectrum.SpecPath.ExpNumTxt() | Function that delivers the absolute path to the experiment directory of the spectrum. |
Spectrum.SpecPath.PdataTxt() | Function that delivers the absolute path to the pdata directory of the spectrum. |
Spectrum.SpecPath.ProcNumTxt() | Function that delivers the absolute path to the process directory of the spectrum. |
Spectrum.SpecPath.SpecTxt(FileName=None) | Function that delivers the absolute path to the spectrum data. If a filename is given as a parameter, then the filename of the spectrum data file at the end of the delivered path (usually "1r" or "2rr") will be subsituted for the given filename. |
Spectrum.FIDpath.SampleTxt() | Function that delivers the absolute path to the sample directory of the FID. |
Spectrum.FIDpath.ExpNumTxt() | Function that delivers the absolute path to the experiment directory of the FID. |
Spectrum.FIDpath.FIDtxt(FileName=None) | Function that delivers the absolute path to the FID. If a filename is given as a parameter, then the filename of the fid at the end of the delivered path (usually "fid" or "ser") will be substituted for the given filename. |
"Pseudocolor file" select the type of Z-value to pseudocolor mapping for the current spectrum. Names ending in Pos has pseudocolors only for positive peaks, while names ending in PosNeg has pseudocolors for both positive and negative Z-values.
The first two dropboxes affect only current 2D spectrum, while the lower dropboxes affect all 2D spectra in all 2D tabs.FileTreeOpenMarker = 1 | When set to 1, marks opened spectra by invering the background of the opened file in the file tree, when 0, will only color the text. |
MaxLogs = 5 | The maximum number of logs that will be retained in the .NoitaSpin/Logs directory. |
IntegBiasAdjSensitvity = 10000.0 | Mouse sensitivity when compensating integral for baseline offset (![]() |
integSlopeAdjSensitvity = 2000.0 | Mouse sensitivity when compensating integral for baseline slope (![]() |
InitialMinimumPtYtransient = 500 | Peak picking: default minimum peak transient size. |
InitialReqAscends = 3 | Peak picking: default minimum number of asending points before peak. |
InitialReqDescends = 3 | Peak picking: default minimum number of descending points after peak. |
MarginRatio2Dinit = 0.15 | 2D spectra: default margin width for 1D projection spectra |
IntegLabColorInterleave = 0 | If 1: make every second integral slightly different color |
PeakLabColorInterleave = 1 | If 1: make every second peak label slightly different color |