Data Structures | |
struct | KSCHEMSAT_DESIGN |
struct | KSCHEMSAT_MODULE |
Macros | |
#define | KSCHEMSAT_MODULE_LOADED |
#define | KSCHEMSAT_DEFAULT_FLIP 95 |
#define | KSCHEMSAT_DEFAULT_SINCRF_BW_15T 150 /* for 1.5T */ |
#define | KSCHEMSAT_DEFAULT_SINCRF_BW_3T 300 /* for 3T */ |
#define | KSCHEMSAT_DEFAULT_SINCRF_TBP 4 |
#define | KSCHEMSAT_DEFAULT_SPOILERAREA 5000 |
#define | KSCHEMSAT_DEFAULT_SSITIME 1000 /* try to reduce this value */ |
#define | KSCHEMSAT_INIT_DESIGN {KSCHEMSAT_OFF, KSCHEMSAT_DEFAULT_FLIP, 0, KSCHEMSAT_RF_STD, KSCHEMSAT_DEFAULT_SINCRF_BW_3T, KSCHEMSAT_DEFAULT_SINCRF_TBP, KSCHEMSAT_DEFAULT_SPOILERAREA, KSCHEMSAT_DEFAULT_SSITIME} |
#define | KSCHEMSAT_INIT_MODULE {KS_INIT_BASE(KSCHEMSAT_MODULE), KS_INIT_SEQ_CONTROL, KSCHEMSAT_INIT_DESIGN, KS_INIT_RF, KS_INIT_TRAP, KS_NOTSET, 0, 0} |
Enumerations | |
enum | { KSCHEMSAT_OFF, KSCHEMSAT_FAT, KSCHEMSAT_WATER } |
enum | { KSCHEMSAT_RF_STD, KSCHEMSAT_RF_SINC } |
Functions | |
void | kschemsat_init_design (KSCHEMSAT_DESIGN *design) |
STATUS | kschemsat_eval_design (KSCHEMSAT_MODULE *chemsat) |
STATUS | kschemsat_pg (KSCHEMSAT_MODULE *chemsat, int start_time, KS_SEQ_CONTROL *seqctrl_p) |
void | kschemsat_set_design_from_UI (KSCHEMSAT_DESIGN *design) |
#define KSCHEMSAT_MODULE_LOADED |
can be used to check whether the chemsat module has been included in a main psd
#define KSCHEMSAT_DEFAULT_FLIP 95 |
#define KSCHEMSAT_DEFAULT_SINCRF_BW_15T 150 /* for 1.5T */ |
#define KSCHEMSAT_DEFAULT_SINCRF_BW_3T 300 /* for 3T */ |
#define KSCHEMSAT_DEFAULT_SINCRF_TBP 4 |
#define KSCHEMSAT_DEFAULT_SPOILERAREA 5000 |
#define KSCHEMSAT_DEFAULT_SSITIME 1000 /* try to reduce this value */ |
#define KSCHEMSAT_INIT_DESIGN {KSCHEMSAT_OFF, KSCHEMSAT_DEFAULT_FLIP, 0, KSCHEMSAT_RF_STD, KSCHEMSAT_DEFAULT_SINCRF_BW_3T, KSCHEMSAT_DEFAULT_SINCRF_TBP, KSCHEMSAT_DEFAULT_SPOILERAREA, KSCHEMSAT_DEFAULT_SSITIME} |
#define KSCHEMSAT_INIT_MODULE {KS_INIT_BASE(KSCHEMSAT_MODULE), KS_INIT_SEQ_CONTROL, KSCHEMSAT_INIT_DESIGN, KS_INIT_RF, KS_INIT_TRAP, KS_NOTSET, 0, 0} |
anonymous enum |
anonymous enum |
void kschemsat_init_design | ( | KSCHEMSAT_DESIGN * | design | ) |
[out] | design | pointer to the chemical sat design |
STATUS | SUCCESS or FAILURE |
STATUS kschemsat_eval_design | ( | KSCHEMSAT_MODULE * | chemsat | ) |
[in,out] | chemsat | pointer to the module to be processed |
STATUS | SUCCESS or FAILURE |
STATUS kschemsat_pg | ( | KSCHEMSAT_MODULE * | chemsat, |
int | start_time, | ||
KS_SEQ_CONTROL * | seqctrl_p | ||
) |
If seqctrl_p is not NULL, it is assumed that the ChemSat is generated within another sequence module, use start_time to control the positioning. The end_time field is set to be able to continue the pulse generation.
[in,out] | chemsat | pointer to the module to be processed |
[in] | start_time | time position for the start of the chemical sat waveforms |
[in,out] | seqctrl_p | optional pointer to a sequence control for embedding |
STATUS | SUCCESS or FAILURE |
void kschemsat_set_design_from_UI | ( | KSCHEMSAT_DESIGN * | design | ) |
[out] | design | Pointer to a chamical sat's design |
STATUS | SUCCESS or FAILURE |
KSCHEMSAT_MODULE kschemsat = KSCHEMSAT_INIT_MODULE |
int kschemsat_flag = KSCHEMSAT_OFF with {KSCHEMSAT_OFF, KSCHEMSAT_WATER, KSCHEMSAT_OFF, VIS, "flag for kschemsat (0:Off 1:FatSat 2:WaterSat)",} |
float kschemsat_flip = KSCHEMSAT_DEFAULT_FLIP with {0, 360, KSCHEMSAT_DEFAULT_FLIP, VIS, "RF flip angle [deg]",} |
int kschemsat_rftype = KSCHEMSAT_RF_STD with {KSCHEMSAT_RF_STD, KSCHEMSAT_RF_SINC, KSCHEMSAT_RF_STD, VIS, "RF type (0:Std 1:Sinc)",} |
int kschemsat_sinc_bw = KSCHEMSAT_DEFAULT_SINCRF_BW_3T with {2, 100000, 300, VIS, "Sinc RF BW",} |
int kschemsat_sinc_tbp = KSCHEMSAT_DEFAULT_SINCRF_TBP with {2, 20, 2, VIS, "Sinc RF Time-Bandwidth-Product",} |
int kschemsat_rfoffset = 0 with {-1000, 1000, 0, VIS, "RF excitation freq offset [Hz]",} |
float kschemsat_spoilerarea = KSCHEMSAT_DEFAULT_SPOILERAREA with {0, 10000, KSCHEMSAT_DEFAULT_SPOILERAREA, VIS, "Spoiler area",} |
int kschemsat_ssi_time = KSCHEMSAT_DEFAULT_SSITIME with {10, 20000, KSCHEMSAT_DEFAULT_SSITIME, VIS, "Time from eos to ssi in intern trig",} |