Difference between revisions of "Basic 1d hard.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:function.m}} Basic 1D imaging sequence with a hard pulse. ==Syntax== fid=basic_1d_hard(spin_system,parameters,H,R,K,G,F) ==Description== This sequence m...")
 
(Sync syntax/arguments/outputs with current Spinach source)
Line 1: Line 1:
−
{{DISPLAYTITLE:function.m}}
+
{{DISPLAYTITLE:basic_1d_hard.m}} __NOTOC__
 +
 
 
Basic 1D imaging sequence with a hard pulse.
 
Basic 1D imaging sequence with a hard pulse.
  
 
==Syntax==
 
==Syntax==
  
−
    fid=basic_1d_hard(spin_system,parameters,H,R,K,G,F)
+
fid=basic_1d_hard(spin_system,parameters,H,R,K,G,F)
  
−
==Description==
+
==Arguments==
−
This sequence must be called from the [[imaging.m]] context, which would provide H,R,K,G, and F.
 
  
−
==Arguments==
+
parameters.ro_grad_amp  - readout gradient amplitude, T/m
  
−
    parameters.rho0        - initial condition
 
−
 
−
    parameters.coil        - detection state
 
−
 
−
    parameters.ro_grad_ampl - readout gradient amplitude, T/m
 
−
 
 
     parameters.sweep        - detection sweep width, Hz
 
     parameters.sweep        - detection sweep width, Hz
−
+
 
 
     parameters.npoints      - number of points in the fid
 
     parameters.npoints      - number of points in the fid
−
+
 
 
     parameters.offset      - transmitter and receiver offset, Hz
 
     parameters.offset      - transmitter and receiver offset, Hz
  
 
==Outputs==
 
==Outputs==
  
−
    fid - free induction decay that should be Fourier transformed
+
fid - free induction decay that should be Fourier transformed
 
           to obtain the image
 
           to obtain the image
  
 
==Examples==
 
==Examples==
 +
 
See gradient_image_1d.m file in examples/imaging directory.
 
See gradient_image_1d.m file in examples/imaging directory.
  
 
==See also==
 
==See also==
 +
 
[[phase_enc.m]], [[dwi.m]], [[epi.m]]
 
[[phase_enc.m]], [[dwi.m]], [[epi.m]]
  
  
 
''Version 2.1, authors: [[Ilya Kuprov]], [[Ahmed Allami]]''
 
''Version 2.1, authors: [[Ilya Kuprov]], [[Ahmed Allami]]''
 +
 +
==Description==
 +
 +
This sequence must be called from the [[imaging.m]] context, which would provide H,R,K,G, and F.

Revision as of 15:12, 5 April 2026


Basic 1D imaging sequence with a hard pulse.

Syntax

fid=basic_1d_hard(spin_system,parameters,H,R,K,G,F)

Arguments

parameters.ro_grad_amp - readout gradient amplitude, T/m

   parameters.sweep        - detection sweep width, Hz
   parameters.npoints      - number of points in the fid
   parameters.offset       - transmitter and receiver offset, Hz

Outputs

fid - free induction decay that should be Fourier transformed

          to obtain the image

Examples

See gradient_image_1d.m file in examples/imaging directory.

See also

phase_enc.m, dwi.m, epi.m


Version 2.1, authors: Ilya Kuprov, Ahmed Allami

Description

This sequence must be called from the imaging.m context, which would provide H,R,K,G, and F.