Assign peak at location (if any nearby).
ArgumentServer, Tk.Event
None
Automatically tidy the annotation labels of selected peaks.
ArgumentServer
None
Calculate noise of spectra visible in window
ArgumentServer
None
Move and axis region so that it is centred on the input value
Analysis.AsisRegion, Float
None
Center window at location.
ArgumentServer, TkEvent
None
Clone an existing spectrum window to make a new one
Analysis.SpectrumWindow
Analysis.SpectrumWindow
Copy regions from one window to another (pane and region numbers must match or else)
Analysis.SpectrumWindow, Analysis.SpectrumWindow
None
Copy view visibility properties from one window to another
Analysis.SpectrumWindow, Analysis.SpectrumWindow
None
Create horizontal ruler at location.
ArgumentServer, TkEvent
None
Create mark at location.
ArgumentServer, TkEvent
None
Create horizontal ruler at location and sideband copies.
ArgumentServer, TkEvent
None
Create mark at location and sideband copies.
ArgumentServer, TkEvent
None
Create vertical ruler at location and sideband copies.
ArgumentServer, TkEvent
None
Make a new spectrum window
Project, String,List of List of Analysis.AxisTypes, Nmr.DataSource, RgbColor, List of 2-List of List of Floats, Int, Int, List of List of List of Floats
Analysis.SpectrumWindow
Create vertical ruler at location.
ArgumentServer, TkEvent
None
Determine a default window name.
Project
Window name
Delete selected objects.
ArgumentServer, AnalysisPopup
None
Create a number of strips at peak locations along a given strip axis. The ortho value of the strips will be the mean peak position for the orthogonal axis. A new window may be created if needed.
Analysis (Tkinter top level), List of Nmr.Peaks, Analysis.SpectrumWindow
Analysis.SpectrumWindow
For a given window pane, display the strips appropriate for a given spin system. Option to further divide the strips along the y axis according to spin system shifts.
Analysis (Tkinter top level), Nmr.ResonanceGroup, Analysis.SpectrumWindowPane, Nmr.ShiftList, Boolean
None
Create a number of strips at specified positions in a new or existing spectrum window panel. bPositions are specified in dictionary form. e.g. {‘x’: 7.43, ‘y’: 4.21, ‘z1’: 121.96} Orthogonal positions may be specified to further divide strips nto cells. A spectrum is specified so that the appropriate type of window can be made if needed.
Analysis (Tkinter top level), List of Dicts (axis:location), List of Floats, Nmr,DataSource, Analysis.SpectrumWindowPanel
Analysis.SpectrumWindow
Stop using marker to display delta for x, y positions.
ArgumentServer, TkEvent
None
Get the AxisMapping object for a given dataDim in a given spectrumWindowView.
Analysis.SpectrumWindowView, Nmr.AbstractDataDim
Analysis.AxisMapping
Given positions in the input query window, find all equivalent points in all spectrum windows which have either a) a Z dimension that matches any one of the dimensions of the query window or b) two dimemsions that match the query window. Returns a list of mappings for each target window, comprising a mapping name (e.g. for GUIs) the target spectrum window and the target position. There is boolean option, to say whether the query window mapping is to be excluded form the output, this is usually true for searches originating from windows, but may not be so if the query comes from a table. The minDims optional argument determines the minimum number of dimensions that a target window must have to be considered.
Analysis.SpectrumWindowPane, List of List of Floats (position), Boolean, Int
List of Lists [String (Mapping Name), Analysis.SpectrumWindow, List of Floats (position)]
Given a position in the input query window, find all equivalent points in the window which represent a swapping of coordinates for similarly types axes. Returns a list of mappings for each target window, comprising a mapping name (e.g. for GUIs) the target spectrum window and the target position.
Analysis.SpectrumWindowPane, List of Floats (position)
List of Lists [String (Mapping Name), Analysis.SpectrumWindow, List of Floats (position)]
Get the currently active windows in a project
Implementation.Project
List of Analysis.SpectrumWindows
Find a mapping between axes in a spectrum window pane and the data dimensions of a spectrum: Works initially with dataDim matches.
Nmr.DataSource, Analysis.SpectrumWindow
Dictionary of Nmr.DataDims keyed by ‘x’,’y’,’z1’ etc
Get a list of windows with the same axis types as the query window
Analysis.SpectrumWindow
List of Analysis.SpectrumWindows
Find a mapping between axes in a spectrum window pane and the dimensions of a peak: Works initially with dataDim matches.
Nmr.Peak, Analysis.SpectrumWindowPane
Dictionary of Nmr.PeakDims keyed by ‘x’,’y’,’z1’ etc
Find the position of a peak in a given window’s coordinates Copes with peakDims ordering being different to window axis order. If peaks do not match a window axis a default position may be used otherwise the default position is the current window location. If useDefault is False None will be entered instead of a default location.
Nmr.Peak, Analysis.SpectrumWindowPane
List of Floats
For a spectrum window pane, gets a list of pairs of axis panels that are of the same type.
Analysis.SpectrumWindowPane
List of Tuple of Analysis.AxisPanels (pairs of same type)
Get a list of all the window views of a spectrum.
Nmr.DataSource
List of Analysis.SpectrumWindowViews
Get the SpectrumWindowView object for a given spectrum in a given window pane.
Analysis.SpectrumWindowPane, Nmr.DataSource
Analysis.SpectrumWindowView
Get the shifts (linked to primary/z axes) visible in a given window pane that are represented by the resonances of a spin system. Also returns a list of orthogonal axis shifts.
List of Nmr.ResonanceGroups, Analysis.SpectrumWindowPane, Nmr.ShiftList
List of Dict of Word:Nmr.Shift (dimName:position eg ‘z1’:Shift), List of Nmr.Shifts
Get the minimum and maximum spectrum data values in this view. Returns (None, None) if there is no data file for this spectrum.
SpectrumWindowView
(minValue, maxValue)
Get a list of names representing the axis types of a window.
Analysis.SpectrumWindow
List of Strings (Analysis.AxisType.name)
Get the popup, and canvas if None passed in, for this argServer.
ArgumentServer, WindowCanvas
(WindowFrame, WindowCanvas)
Get the popup, canvas and event location, for this argServer.
ArgumentServer, ‘e’vent
(WindowFrame, WindowCanvas)
Get a name which identifies a window pane and its parent spectrum window
Analysis.SpectrumWindowPane
Word
Go to the position of a given resonance (according to the input shiftlist) in a given window. Note currently only goes to first available axis not all.
Analysis (Tkinter top level), Nmr.Resonance, Analysis.SpectrumWindowPane, Nmr.ShiftList
None
Initialise window macros, adding default ones that not already included
Implementation.Project (the project)
None
Determine if a window is active within its project
Analysis.SpectrumWindow
Boolean
Determine if a spectrum is displayable in a given window.
Analysis.SpectrumWindowPane, Nmr.DataSource
Boolean
Move peak to location.
ArgumentServer, TkEvent
None
Move peak to location.
ArgumentServer, TkEvent
None
Scroll to left in orthogonal (z1) dimension in window.
ArgumentServer, WindowCanvas
None
Scroll to right in orthogonal (z1) dimension in window.
ArgumentServer, WindowCanvas
None
Popup right mouse menu
ArgumentServer, TkEvent
None
Automatically tidy the peak annotation labels in the x-y plane of a window for a given list of peaks.
List of nmr.Nmr,peaks, Analysis.SpectrumWindow, Analysis GUI
None
Reset the peak annotation labels in the x-y plane of a window for a given list of peaks.
List of nmr.Nmr,peaks, Analysis.SpectrumWindow
None
Automatically tidy the annotation labels of selected peaks.
ArgumentServer
None
Reset the window sliceRange based on the spectra data values
ArgumentServer
None
Save the modified parts of the current project
Implementation.Project
None
Set the view state for a peak list in a window. This will set the drawing state of the annotation and the crosspeak symbol.
Analysis.WindowPeakList, Boolean
None
Show selected peaks.
ArgumentServer, AnalysisPopup
None
Move peak to location.
ArgumentServer, TkEvent
None
Create marker at location and start to display delta for x, y positions.
ArgumentServer, TkEvent
None
Swap vertical strips for horizontal ones and vice versa. Preserves number active index and z positions
Analysis (Tkinter top level), Analysis.SpectrumWindow
None
Toggle whether the picked peaks of a peak list are displayed in a spectrum window.
Analysis.SpectrumWindow, Nmr.PeakList
None
Toggle whether a spectrum is diaplayed in a spectrum window.
Analysis.SpectrumWindow, Int, Nmr.DataSource, Boolean
None
Translate window down by fraction (default 0.25)
ArgumentServer, WindowCanvas, fraction
None
Translate window left by fraction (default 0.25)
ArgumentServer, WindowCanvas, fraction
None
Translate window right by fraction (default 0.25)
ArgumentServer, WindowCanvas, fraction
None
Translate window up by fraction (default 0.25)
ArgumentServer, WindowCanvas, fraction
None
Translate window by fraction, with up/down choice determined by pan mode
ArgumentServer, fraction
None
Move peak to current cursor location and coordinate positions of other peaks in same peak list assigned to same resonances. If allowMultiplePeaks then allow multiple peaks to be moved.
ArgumentServer, Nmr.Peaks, Bool
None
Move peak to current cursor location and coordinate positions of other peaks in same peak list assigned to same resonances.
ArgumentServer, Nmr.Peaks
None
Update the windowPane sliceRange based on the window spectrum values
SpectrumWindowPane
None
Update the view.windowPane sliceRange based on the spectrum values
SpectrumWindowView
None
Determine if a window has a value axis
Analysis.SpectrumWindow
Boolean
Zoom slice range by factor (default 2).
ArgumentServer, Analysis.WindowPane, float
None
Zoom slice range by factor (default 2).
ArgumentServer, Analysis.WindowPane, float
None
Zoom in a given row and column a given window so that all of the input peaks are visible.
List of Nmr.Peaks, Analysis.SpectrumWindowPane, Int (AxisPanel.axisRegion index)
None
Zoom in window by factor (default 2).
ArgumentServer, WindowCanvas, factor
None
Zoom out window by factor (default 2).
ArgumentServer, WindowCanvas, factor
None
Zoom window to just contain the visible spectra regions.
ArgumentServer, WindowCanvas
None