ParaView 5.13.2 applying Lagrangian Particle Tracker from Python script

Hi,

I would like to create a python script that applies the Lagrangian Particle Tracker filter with my own integration model in such a way that after applying the filter and saving the state with the python script. The filter will be present and editable in the pipeline when using the GUI. Could someone point me towards the right syntax/method to achieve this? Specifically how to register the filter, wire the input ports and set the properties properly? I couldn’t find much documentation on how to do this aside from this method GitHub - kalagotla/test-cases: tests/scripts from multiple projects, however this implementation doesn’t seem to create the filter in a way that is saved to the state file.

Thanks,

This blog is the most complete doc: https://www.kitware.com/vtk-and-paraview-add-highly-configurable-particle-tracker/ and a state file is available here LagrangianParticleTracker example file - #5 by alkali