# Sigmoid fit - OD Calibration

**URL:** <https://www.evolver.bio/t/sigmoid-fit-od-calibration/481>\
**Category:** Software\
**Created:** [October 5, 2023, 11:57am UTC](https://www.evolver.bio/t/sigmoid-fit-od-calibration/481 "2023-10-05T11:57:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eduarda](https://avatars.discourse-cdn.com/v4/letter/e/35a633/32.png) [@eduarda](https://www.evolver.bio/u/eduarda)\
**Post date:** [October 5, 2023, 11:57am UTC](https://www.evolver.bio/t/sigmoid-fit-od-calibration/481/1 "2023-10-05T11:57:29Z")

</div>

Hello Everyone!

I’ve seen lots of discussion on how to make better fits when calibrating OD but it seems to me as though maybe the sigmoid curve isn’t the best way to to fit the points. Why was is chosen? Has anyone tried calibrating with different curves, such as exponential, or 1/x?

---

<div class="post-metadata">

**Author:** ![bgwong](https://yyz1.discourse-cdn.com/flex035/user_avatar/www.evolver.bio/bgwong/32/262_2.png) [@bgwong](https://www.evolver.bio/u/bgwong)\
**Post date:** [October 5, 2023, 12:56pm UTC](https://www.evolver.bio/t/sigmoid-fit-od-calibration/481/2 "2023-10-05T12:56:28Z")

</div>

Sigmoid was chosen because historically we didn’t calibrate ODs past ~.8 with 1 photodiode. If the cut off is there, the sigmoidal fit works pretty well ([OD measurements with two photodiodes? - #5 by bgwong](https://www.evolver.bio/t/od-measurements-with-two-photodiodes/99/5)). But after adding an additional photodiode at 90 degrees, we found the range is much higher. You can feel free to add more types of fit. Just make sure to modify the code appropriately.

The easiest way is to change the evolver.py transform\_data function and have it transform the incoming data with your own custom fit:

> <https://github.com/FYNCH-BIO/dpu/blob/master/experiment/template/eVOLVER.py#L154>

Brandon
