The .c files programs the transmit cards. The script implements the functions for the m4i.6622 transmit functions. The ‘m4iset_8ch.c’ file initiates the card for 8-channel transmit operation using 400 MHz sampling frequency (297MHz output, please see the paper for the reasoning about transmit frequency selection [1]). For 123 MHz (3T). The sampling frequency can be changed to 625MHz. The main function is named ‘m4iset’ takes three arguments as follows:
The .c file programs the transmit cards. The **m4iset_8ch.c** file initiates the card for 8-channel transmit operation using 400 MHz sampling frequency (297MHz output, please see the paper for the reasoning about transmit frequency selection [1]). For 123 MHz (3T), the sampling frequency can be changed to 625MHz. The main function is named ‘m4iset’ and takes three arguments as follows:
```c
```c
/**
/**
...
@@ -31,7 +31,7 @@ The Fortran codes implements the .c code and generates the transmit data. Theref
...
@@ -31,7 +31,7 @@ The Fortran codes implements the .c code and generates the transmit data. Theref
where pex_m4i_8ch_CP.f is the fortran routinem4iset_8ch.c is the code for card programming and libspcm_linux.so is the library for the m4i driver cards that needs to be pre-installed from the manufacturer's website. The name of the output file is pex_m4i_CP. To run the cards, this file needs to be used with two parameters
where **pex_m4i_8ch_CP.f** is the fortran routine, **m4iset_8ch.c** is the code for card programming and libspcm_linux.so is the library for the m4i driver cards that needs to be pre-installed from the manufacturer's website. The name of the output file is pex_m4i_CP. To run the cards, this file needs to be used with two parameters
```console
```console
pex_m4i_CP $mode $att
pex_m4i_CP $mode $att
...
@@ -43,5 +43,5 @@ pex_m4i_CP $mode $att
...
@@ -43,5 +43,5 @@ pex_m4i_CP $mode $att
#$att parameter adjusts the attenuation level for the output. It can take floating values between [0,1].
#$att parameter adjusts the attenuation level for the output. It can take floating values between [0,1].
```
```
## References
[1] L. Winter et al., “Parallel transmission medical implant safety testbed: Real-time mitigation of RF induced tip heating using time-domain E-field sensors,” Magn. Reson. Med., vol. 84, no. 6, pp. 3468–3484, 2020, doi: https://doi.org/10.1002/mrm.28379.
[1] L. Winter et al., “Parallel transmission medical implant safety testbed: Real-time mitigation of RF induced tip heating using time-domain E-field sensors,” Magn. Reson. Med., vol. 84, no. 6, pp. 3468–3484, 2020, doi: https://doi.org/10.1002/mrm.28379.