Update the function signatures of the Python instrument export.

Refs #9133
Merge branch 'feature/9133_idf_source_shape' into develop