pub fn write_sfs<W, S, N>(writer: &mut W, sfs: &SfsBase<S, N>) -> Result<()>where W: Write, S: Shape, N: Normalisation,
Writes an SFS in npy format to a writer.