> 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/additional-tools/fov-size-with-an-em-grid.md). Agents can also search and read this documentation through its [MCP server](https://mpqc.swcmicroscopy.com/~gitbook/mcp).

# FOV size with an EM grid

This function determines the full field of view (FOV) and the micron per pixel (um/pix) size. After measurements are taken, the um/pix and FOV can be used to calibrate ScanImage and will be saved in the metadata of data collected.

### Measuring FOV size with an EM grid

To image the slide:

* Copper will autofluoresce when illuminated by a 2-photon laser.
* Use any 2p wavelength and very low power e.g. 3 mW.
* The grid should be oriented so that it's aligned relatively closely with the scan axes (i.e. the edges of the image). This will make it easier to see distortions by eye and also to run `Grid2MicsPerPixel`.
* Hit "Focus" in ScanImage. Acquire data with just one channel. Get a good clear grid image and average a few frames if needed.
* Press "Abort" to stop scanning once a good image is obtained.
* Run `Grid2MicsPerPixel` to measure the FOV. The function will automatically pull data from ScanImage. Look at the diagnostic figures to ensure function has found most of the grid lines (it uses the median grid line distance so you don't need all the lines). If very few grid lines are detected, the results will be meaningless.
* You can use the buttons in the GUI to obtain new images.
* Once you are happy with the results you can use the "Apply FOV" button to calibrate ScanImage.

### Making the EM grid test slide for measuring FOV size

You can use a copper EM grid of known pitch to measure the FOV your microscope. We use part number 2145C from [2spi.com](http://www.2spi.com/category/grids) These grids have a pitch of 25 microns with 19 micron holes. To set up the grid on a slide:

* Use a dissection scope and forceps to position the grid on a glass slide such that the grid lines are square with the edges of the slide. This will make positioning the grid under the microscope a lot easier.
* Place a coverslip over the grid and seal with nail varnish.

<figure><img src="https://1521207187-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3zmCqXEmICTAPZjyGAIY%2Fuploads%2FmLaNgHCHEwt7fUWW6jUg%2FEMgrid.png?alt=media&amp;token=d566049f-e4ec-4185-8002-c5cd446c64a8" alt=""><figcaption></figcaption></figure>
