I’ve been working on improving the Python Calculator panel in ParaView and would love some early feedback before this lands.
What’s new:
The panel now has three helper dropdowns alongside the expression editor:
- Input: pick which connected dataset to browse. With multiple inputs, the generated expression uses numeric indexing (inputs[0], inputs[1], …) so expressions stay reusable across sessions regardless of dataset names.
- Array: browse arrays from the selected input, optionally filtered by the current Array Association. Clicking inserts the right accessor for you (e.g. inputs[0].PointData[“Velocity”], or just “Velocity” in single-input filtered mode).
- Function: lists the Python functions available in the calculator’s namespace (numpy algorithms like gradient, divergence, laplacian, and others). Clicking inserts function() with the cursor between the parentheses.
The goal is to lower the barrier for users who don’t know the accessor syntax by heart, while staying out of the way of power users.
Things I’m specifically looking for feedback on
- Is the numeric indexing (inputs[0]) the right call, or do you find named indexing (inputs[“MyDataset”]) more readable in practice?
- Is the Function list useful as-is, or is it too noisy? What filtering would you want?
- Any other workflows around the Python Calculator that feel unnecessarily painful today?
@wascott @mwestphal @cory.quammen @berkgeveci @EthanStam @nicolas.vuaille





