write_mode_basis ================ .. currentmodule:: hcipy.util .. autofunction:: write_mode_basis