# mesh_cell_edges

<table class=".origin_table">
    <tr>
        <td style="text-align: left; border-style: hidden">*function*  of [dascore.viz._labels](`dascore.viz._labels`)</td>
        <td style="text-align: right; border-style: hidden">[source](https://github.com/DASDAE/dascore/blob/dev/dascore/viz/_labels.py#L140-L151)</td>
    </tr>
</table>

:::{.padded_bottom_10pt}

:::{.def_block}


<b>mesh_cell_edges</b>(<br>
    &nbsp;&nbsp;&nbsp;&nbsp;edges
,<br>
    &nbsp;&nbsp;&nbsp;&nbsp;gap_mask
,<br>
)


:::

:::
Where each cell of a mesh starts and ends, in axis units.

The very edges the mesh was drawn from, indexed by sample. A gap it
opened puts two edges where there was one, so every cell after a gap
sits one place further along -- and a cell bordering a gap ends where
the gap begins, rather than where the cell beyond it starts.

