Difference between revisions of "Impound.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:impound.m}} Simple input capture. ==Syntax== answer=impound(varargin) ==Description== This function packages everything it receives into a cell array an...")
 
(Update function See also links and function index membership)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
{{DISPLAYTITLE:impound.m}}
+
{{DISPLAYTITLE:impound.m}} __NOTOC__
−
Simple input capture.
+
Simple input capture utility that packages everything it receives into a cell array and returns it; it is useful for pulling information back from Spinach [[kernel contexts|context functions]] when called as a pulse sequence.
  
 
==Syntax==
 
==Syntax==
Line 6: Line 6:
 
     answer=impound(varargin)
 
     answer=impound(varargin)
  
−
==Description==
+
==Parameters==
−
This function packages everything it receives into a cell array and returns it back. This is useful for pulling information back from various Spinach [[kernel contexts|context functions]] - call this as a pulse sequence.
 
−
 
 
−
==Arguments==
 
  
 
     varargin  - any number of parameters of any type
 
     varargin  - any number of parameters of any type
Line 20: Line 17:
 
See MAS optimal control examples in examples/optimal_control directory.
 
See MAS optimal control examples in examples/optimal_control directory.
  
 +
==See also==
 +
[[acquire.m]], [[hp_acquire.m]], [[sp_acquire.m]], [[cpmg.m]], [[holeburn.m]], [[relaxan.m]], [[slowpass.m]], [[traject.m]], [[Built-in_experiments]]
  
 
''Version 2.1, authors: [[Ilya Kuprov]]''
 
''Version 2.1, authors: [[Ilya Kuprov]]''

Latest revision as of 18:37, 6 June 2026

Simple input capture utility that packages everything it receives into a cell array and returns it; it is useful for pulling information back from Spinach context functions when called as a pulse sequence.

Syntax

    answer=impound(varargin)

Parameters

    varargin   - any number of parameters of any type

Outputs

    answer     - all input parameters as a cell array

Examples

See MAS optimal control examples in examples/optimal_control directory.

See also

acquire.m, hp_acquire.m, sp_acquire.m, cpmg.m, holeburn.m, relaxan.m, slowpass.m, traject.m, Built-in_experiments

Version 2.1, authors: Ilya Kuprov