> For the complete documentation index, see [llms.txt](https://khalil-lab.gitbook.io/evolver/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://khalil-lab.gitbook.io/evolver/getting-started/calibrations/manual-calibration-calibrate.py.md).

# Manual Calibration - calibrate.py

{% hint style="info" %}
You can use manual calibration to view past calibrations after they are done. This can be useful for troubleshooting if a vial is not behaving as expected.
{% endhint %}

## About

The GUI will run calibrations automatically upon completion of the calibration protocols. However, you can still manually run a calibration if you would like to change calibration settings. Can be useful if your GUI calibration fails for some reason.

Located in [/dpu/calibration/](https://github.com/FYNCH-BIO/dpu/tree/master/calibration).

## Requirements

1. You have run calibration and logged raw values already
2. You are in your DPU virtual environment in command line. This is set up when you [install ](/evolver/getting-started/software-installation/dpu-installation.md)the DPU.

## Commands

### List raw calibration files on the eVOLVER

**Mac**

```sh
python3 calibration/calibrate.py -a <ip_address> -g
```

For Windows, use py instead of python for all commands.

### Calibrate Temperature

```sh
python3 calibration/calibrate.py -a <ip_address> -n <file_name> -t linear -f <name_after_fit> -p temp
```

### Calibrate OD

**OD135**

```sh
python3 calibration/calibrate.py -a <ip_address> -n <file_name> -t sigmoid -f <name_after_fit> -p od_135
```

**OD90 (Check to ensure mode is configured properly)**

```sh
python3 calibration/calibrate.py -a <ip_address> -n <file_name> -t sigmoid -f <name_after_fit> -p od_90
```

**3D FIT (Check to ensure mode is configured properly)**

```sh
python3 calibration/calibrate.py -a <ip_address> -n <file_name> -t 3d -f <name_after_fit> -p od_90,od_135

```
