code: def _make_transform_card(fro, to, r_lpa, r_nasion, r_rpa):
      """Make a transform from cardinal landmarks."""
      return invert_transform(
          Transform(
              to, fro, get_ras_to_neuromag_trans(r_nasion, r_lpa, r_rpa)
          )
      )
  
imports: import numpy
  from ..._fiff.constants import FIFF
  from ...transforms import Transform, _fit_matched_points, _quat_to_affine, apply_trans, combine_transforms, get_ras_to_neuromag_trans, invert_transform
  from ...utils import logger
  from .constants import CTF
label_desc: Use image node_id 1 for calling a global function with example usage: _make_transform_card(fro, to, r_lpa, r_nasion, r_rpa) and returns: invert_transform