pub fn output_path(
input: &Path,
suffix: Option<&str>,
prefix: Option<&str>,
outdir: Option<&Path>,
) -> PathBufExpand description
Build an output path from input.
img.fits with suffix smooth gives img.smooth.fits; prefix is
prepended to the file name and outdir replaces the directory.