> For the complete documentation index, see [llms.txt](https://mpqc.swcmicroscopy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mpqc.swcmicroscopy.com/analysis-and-summaries/standard-light-source.md). Agents can also search and read this documentation through its [MCP server](https://mpqc.swcmicroscopy.com/~gitbook/mcp).

# Standard light source

This tool records the pixel values measured by detectors using a known standard light source. It removes the laser as a variable and allows a closer inspection of the health of the detectors in the microscope set up. The standard source can also be used to compare detectors on different microscope setups.

## mpqc.record.standard\_light\_source

Place a known standard light source under the objective. For best results position the source and objective in the same manner each time the test is run. The system will record data at a series of different detector gains.  &#x20;

## mpqc.plot.standard\_light\_source

Plots the average signal recorded by each detector at different gains all relative to zero gain. This uses a standard light source and therefore removes the laser as a variable, allowing for precise monitoring of the detectors of the system.&#x20;

<figure><img src="https://1521207187-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3zmCqXEmICTAPZjyGAIY%2Fuploads%2FDQrk9JW1orqJU2RQGbxp%2Fplot_standard_light_source.PNG?alt=media&amp;token=bb1de38a-ada0-4fc6-9e54-2583e3aeb7cd" alt=""><figcaption></figcaption></figure>

## mpqc.longitudinal.standard\_light\_source

Plot shows the mean pixel value recorded from a standard light source over time for each detector in the system.

```
mpqc.longitudinal.standard_light_source(maintenace_folder_path, varargin)
```

```
Optional inputs: 'startDate', 'year-month-day'
mpqc.longitudinal.standard_light_source(maintenace_folder_path, 'startDate', '2024-06-20')
 Plots all data from given day forward
```

<figure><img src="https://1521207187-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3zmCqXEmICTAPZjyGAIY%2Fuploads%2Fqqg0r2Ep32Ieu94Gmstq%2Flong_standard_light_source.PNG?alt=media&amp;token=ca534e5a-f6cf-4906-adad-0f200c095dc1" alt=""><figcaption></figcaption></figure>
