Text this: Physics-constrained convolutional neural networks for inverse problems in spatiotemporal partial differential equations