code: def vec_cost_function(params):
      model = ForwardMogiFactory(params)
      zdisp = filter_for_zdisp(model(stations))
      return 100.0 * (zdisp - data_z)
  
file_path: mystic/examples/rosetta_mogi.py
imports: from math import pi
  from numpy import array
  import matplotlib.pyplot
label_desc: Use image node_id 3 for calling a global function with example usage: vec_cost_function(params) and returns: unknown