Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

thesis project for my MSc Scientific and Data Intensive Computing in UCL

Notifications You must be signed in to change notification settings

chongfengling/Pulse-Sequence-Optimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Optimization of MRI Pulse Sequence by Reinforcement Learning.

This repository contains the code and report for my master thesis Optimization of MRI Pulse Sequence by Reinforcement Learning. This project focus on the optimization of gradient-echo sequences for 1-D objects using the Deep Deterministic Policy Gradient (DDPG) algorithm under constraints on gradient slew rate.

Space

A 1D imaging protocol for a gradient echo sequence structure.

Space

Schematic of the DDPG framework.

Space

Actions and corresponding error in testing episodes for 1-D object.

Dependencies

pip install -r requirements.txt

DDPG model

  1. Modify the target object in the env.py file.
self.density = np.zeros(len(self.x_axis)) # target object
  1. Modify the arguments in the main.py file.
  2. Run the main.py file.
python main.py
  1. output of model and best action for each testing episode will be saved in the ./src/Training/{datetime} folder by default.

MR signal simulator

  • run the `./src/simulator.ipynb' file to simulate the MR signal of the target object.

About

thesis project for my MSc Scientific and Data Intensive Computing in UCL

Resources

Stars

Watchers

Forks

Packages

No packages published