Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alessioborgi/bioheat_pinns

Improving hyperthermia treatment by controlling temperature distribution in both 1D and 2D domains and thermal energy applied to cutaneous and subcutaneous tissues, through Bio-Heat equation with Physics-Informed Neural Networks (PINNs).
https://github.com/alessioborgi/bioheat_pinns

bio-heat hyperthermia neural-network physical-informerd-neural-network pinn pinns temperature-estimation

Last synced: 27 days ago
JSON representation

Improving hyperthermia treatment by controlling temperature distribution in both 1D and 2D domains and thermal energy applied to cutaneous and subcutaneous tissues, through Bio-Heat equation with Physics-Informed Neural Networks (PINNs).

Awesome Lists containing this project

README

        

# BioHeat PINNs: Temperature Estimation with Bio-Heat Equation using Physics-Informed Neural Networks

### Copyright © 2024 Alessio Borgi, Eugenio Bugli, Alessandro De Luca

The project focuses on the real-time estimation of temperature distribution in biological tissues using the Pennes Bio-Heat Equation, a fundamental model for heat transfer in human tissues. This research applies Physics-Informed Neural Networks (PINNs), a deep learning framework designed to solve partial differential equations (PDEs) by embedding physical laws directly into the learning process. The primary objective of the project is to enhance the control and predictability of hyperthermia treatments—a form of thermal therapy used to treat conditions such as tumors by precisely heating affected tissues.

Hyperthermia therapy requires maintaining tissue temperature within a specific range (typically between 39°C and 45°C) for prolonged periods. However, this process is challenging due to the dynamic heat transfer between tissues and the circulatory system, as well as the risk of damaging healthy tissues. This project simplifies the resolution of the Pennes Bio-Heat equation in 1D and 2D spatial domains using PINNs to provide an efficient and accurate tool for predicting temperature distribution in both cutaneous (surface-level) and subcutaneous (beneath the skin) tissues.

## CONTAINER INSTRUCTIONS

#### These are the commands to run in the Terminal to build the Container and so on.
- Open **Docker**

- Enter the folder ProjectMedicalRobotics:
```cd ProjectMedicalRobotics```

- Build the Container, with arm64 for MAC Ms Processor:

```docker build --platform linux/arm64 -t bio_heat_pinns .```

- To run the Container without re-building it every time. It saves the changes instantaneously.

```docker run --platform linux/arm64 -it --name bio_heat_pinns -v "$(pwd):/working_dir" bio_heat_pinns```

With this command you are inside the Container and you are able to Run the files.

- To Re-Start the Container (when closing and opening the pc, for example):

```docker run -it --name bio_heat_pinns```

## UTILS
- Stop the Container (from an external terminal):
```docker stop bio_heat_pinns```

- Stop the Container (from the internal terminal):
**ctrl + D**

- Remove the Container (from an external terminal):
```docker rm bio_heat_pinns```

## FILE INSTRUCTIONS
Once you are inside the Container you can run the files inside the repository:

- Before the First run you will have to select one of the three option regarding the **WandB** account and upload your API Key.

- To Run the main.py file:
```python3 ./src/main.py```

- To Run the tuning.py file:
```python3 ./src/tuning.py```