mne-tools/mne-python — pull request #206 by christianmbrodbeck (2012-12-02 00:19:03+00:00)
Title: WIP: more file io functions

Not necessarily for 0.5.

There is a certain inconsistency in that `source_space.write_source_spaces()` writes to an open file rather than saving to a new file (as other `write...()` functions do). I would suggest renaming `write_source_spaces` -> `write_source_spaces_to_fid`. For backwards compatibility `write_source_spaces` could type-check and if it gets a fid issue a deprecation warning but write to the file anyways. If you agree I can add this modification to this PR.

@agramfort: Can I also include your read_fiducials? If so, add it to an existing file (surface.py?) or create a new one?