spinach2hiper.m

From Spinach Documentation Wiki
Jump to: navigation, search

Exports phase-modulated optimal control waveforms into the format expected by Graham Smith's HiPER instrument.

Syntax

              spinach2hiper(file_name,amp,phi,off,dt)

Parameters

        file_name  - CSV file name, a character string
                     without the extension
        amp        - a vector of amplitudes
        phi        - a vector of phases in radians
        off        - transmitter offset in Hz
        dt         - waveform slice duration, seconds

Outputs

        this function writes a file
    Note: in practice, try both positive and negative pha-
          ses - some instruments count phases clockwise,
          others counterclockwise.

Examples

See examples in the Spinach distribution relevant to this function.

Notes

This page was generated from the function header in the Spinach repository.

See also

retrieve_file.m, firf.m, kernelest.m, awg_interface.m, bootstrap.m, gslice.m, guess_csa_pro.m, guess_j_nuc.m, guess_j_pro.m, py_run.m, Optimal_control_module, Import,_export,_and_visualisation

Version 2.11, authors: Ilya Kuprov