write_data ==================== .. currentmodule:: sherpa.io .. autofunction:: write_data