pub fn write_f64(path: impl AsRef<Path>, data: &[f64]) -> Result<(), NpyError>
Write a 1D float64 array to an NPY file.