class_docstr: A surface mesh stored as in-memory numpy arrays.
code: def __init__(
      self, coordinates: np.ndarray, faces: np.ndarray
  ) -> None:
      self.coordinates = coordinates
      self.faces = faces
      self.n_vertices = coordinates.shape[0]
  
imports: from __future__ import annotations
  import abc
  import dataclasses
  import pathlib
  from typing import Dict
  import numpy
  from nilearn.experimental.surface import _io
label_desc: Use image node_id 1 to create a new InMemoryMesh object from inherited base classes: Mesh with example: obj = InMemoryMesh(coordinates, faces)