{
  "pipeline":[
    "@CMAKE_SOURCE_DIR@/test/data/autzen/autzen.las",
    {
      "type":"filters.python",
      "module":"anything",
      "function":"filter",
      "source":"import numpy as np\n\ndef filter(ins,outs):\n\tret = ins['ReturnNumber']\n\n\tkeep_ret = [0, 1,2]\n\n\t# Use the first test for our base array.\n\tkeep = np.equal(ret, keep_ret[0])\n\n\t# For 1:n, test each predicate and join back\n\t# to our existing predicate array\n\tfor k in range(1, len(keep_ret)):\n\t\tt = np.equal(ret, keep_ret[k])\n\t\tkeep = keep + t\n\n\touts['Mask'] = keep\n\treturn True"
    },
    "@CMAKE_SOURCE_DIR@/test/temp/out2.las"
  ]
}
