code: def _get_matrix_from_lcmv(filters, forward, info, verbose=None):
      """Get inverse matrix for LCMV beamformer.
  
      Returns
      -------
      invmat : array, shape (n_dipoles, n_channels)
          Inverse matrix associated with LCMV beamformer filters.
      """
      # number of channels for identity matrix
      info = pick_info(
          info, pick_channels(info["ch_names"], filters["ch_names"])
      )
      n_chs = len(info["ch_names"])
  
      # create identity matrix as input for inverse operator
      # set elements to zero for non-selected channels
      id_mat = np.eye(n_chs)
  
      # convert identity matrix to evoked data type (pretending it's an epochs
      evo_ident = EvokedArray(id_mat, info=info, tmin=0.0)
  
      # apply beamformer to identity matrix
      stc_lcmv = apply_lcmv(evo_ident, filters, verbose=verbose)
  
      # turn source estimate into numpsy array
      invmat = stc_lcmv.data
  
      return invmat
  
imports: import numpy
  from .._fiff.pick import pick_channels, pick_channels_forward, pick_info
  from ..evoked import EvokedArray
  from ..utils import fill_doc, logger
  from ._lcmv import apply_lcmv
label_desc: Use image node_id 2 for calling a global function with example usage: _get_matrix_from_lcmv(filters, forward, info, verbose) and returns: invmat