Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
aghaeifar committed Mar 6, 2024
1 parent d7e08bb commit fa998f4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 18 deletions.
1 change: 1 addition & 0 deletions MATLAB/plot_results.m
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
relative_signal = squeeze(relative_signal);
h = semilogx(vessel_radius, relative_signal); xlabel('Vessel radius (um)'); ylabel('BOLD Signal %');
hold on;
ylim([0, 7])
% else
% subplot(2,1,2)
% relative_signal = signal_magnitude{seq}(:,:,:,:,2) - signal_magnitude{seq}(:,:,:,:,1);
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@


<div align="center">

![Build Status](https://github.com/aghaeifar/SpinWalk/workflows/CMake/badge.svg)
[![Lates Release](https://img.shields.io/github/v/release/aghaeifar/SpinWalk)](https://github.com/aghaeifar/SpinWalk/releases)
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/aghaeifar/SpinWalk)
![GitHub top language](https://img.shields.io/github/languages/top/aghaeifar/SpinWalk)
![License](https://img.shields.io/github/license/aghaeifar/SpinWalk)

</div>

<p align="center">
<a href="https://github.com/aghaeifar/SpinWalk">
Expand Down
13 changes: 0 additions & 13 deletions config/config_default.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,31 +35,18 @@ TR = 0.010
TE[0] = 0.005
TE[1] = 0.1
TE[2] = 0.2
TE[3] = 0.3
TE[4] = 0.4
TE[5] = 0.5
TE[6] = 0.6
TE[7] = 0.7
TE[8] = 0.8
TE[9] = 0.9
; RF Flip angle in degree
RF_FA[0] = 15.0
RF_FA[1] = 0.0
RF_FA[2] = 0.0
RF_FA[3] = 0.0
RF_FA[4] = 0.0
; RF Phase in degree. Note PHASE_CYCLING will be added to the phase of the first RF
RF_PH[0] = 0.0
RF_PH[1] = 0.0
RF_PH[2] = 0.0
RF_PH[3] = 0.0
RF_PH[4] = 0.0
; Time (sec) to apply RF. The first RF start time is always 0.0
RF_ST[0] = 0.0
RF_ST[1] = 0.1
RF_ST[2] = 0.2
RF_ST[3] = 0.3
RF_ST[4] = 0.4
; Dephasing in degree. The initial spin in the population will experience a dephasing of 0.0 degrees. Dephasing will then progressively increase in a linear manner up to the final spin, which will undergo dephasing as specified by the given parameter
DEPHASING[0] =
DEPHASING[1] =
Expand Down
2 changes: 1 addition & 1 deletion config/gre.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ RF_ST[0] = 0.0
[SIMULATION_PARAMETERS]
; use 0 for random seed generation, otherwise use a positive integer to make a reproducible simulation
SEED = 10
CROSS_BOUNDARY = 0
CROSS_BOUNDARY = 0
8 changes: 4 additions & 4 deletions src/miscellaneous.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@

#define ERR_MSG "\033[1;31mError:\033[0m "
#define ROUND(x) ((long)((x)+0.5))
#define MAX_RF 128 // maximum number of RF
#define MAX_RF 256 // maximum number of RF
#define MAX_TE 256 // maximum number of echo times
#define MAX_T12 128 // maximum number of relaxation times
#define MAX_DEPHASE 128 // maximum number of dephasing
#define MAX_GRADIENT 128 // maximum number of gradient
#define MAX_T12 256 // maximum number of relaxation times
#define MAX_DEPHASE 256 // maximum number of dephasing
#define MAX_GRADIENT 256 // maximum number of gradient

typedef struct simulation_parameters
{
Expand Down

0 comments on commit fa998f4

Please sign in to comment.