code: def get_inference_data(self, posterior, **kwargs):
      return from_cmdstan(posterior=posterior, **kwargs)
  
imports: import os
  import numpy
  import pytest
  from ...None import from_cmdstan
  from ..helpers import check_multiple_attrs
label_desc: Use image node_id 4 for calling the TestDataCmdStan obj's underlying member method code with example usage: obj.get_inference_data(posterior) and returns: from_cmdstan