Batch processing with multiple inputs

I’m trying to do coherence estimation for a long time series. The study area is covered by two subswaths and due to the merge process, the graph takes a long time to run, therefore it would be beneficial to run
it during night in an automated way.


Is there any way to batch a process with two inputs?