docs: def convert(area_um, deform, emodulus,
              channel_width_in, channel_width_out,
              flow_rate_in, flow_rate_out,
              viscosity_in, viscosity_out,
              inplace=False):
      """convert area-deformation-emodulus triplet
  
      The conversion formula is described in :cite:`Mietke2015`.
  
      Parameters
      ----------
      area_um: ndarray
          Convex cell area [µm²]
      deform: ndarray
          Deformation
      emodulus: ndarray
          Young's Modulus [kPa]
      channel_width_in: float
          Original channel width [µm]
      channel_width_out: float
          Target channel width [µm]
      flow_rate_in: float
          Original flow rate [µl/s]
      flow_rate_in: float
          Target flow rate [µl/s]
      viscosity_in: float
          Original viscosity [mPa*s]
      viscosity_out: float
          Target viscosity [mPa*s]
      inplace: bool
          If True, override input arrays with corrected data
  
      Returns
      -------
      area_um_corr: ndarray
          Corrected cell area [µm²]
      deform_corr: ndarray
          Deformation (a copy if `inplace` is False)
      emodulus_corr: ndarray
          Corrected emodulus [kPa]
      """
      copy = not inplace
      # make sure area_um_corr is not an integer array
      area_um_corr = np.array(area_um, dtype=float, copy=copy)
      deform_corr = np.array(deform, copy=copy)
      emodulus_corr = np.array(emodulus, copy=copy)
  
      if channel_width_in != channel_width_out:
          area_um_corr *= (channel_width_out / channel_width_in)**2
  
      if (flow_rate_in != flow_rate_out or
              viscosity_in != viscosity_out or
              channel_width_in != channel_width_out):
          emodulus_corr *= (flow_rate_out / flow_rate_in) \
              * (viscosity_out / viscosity_in) \
              * (channel_width_in / channel_width_out)**3
  
      return area_um_corr, deform_corr, emodulus_corr