pub fn parse_shots_csv(text: &str) -> Result<Vec<Shot>, ExposureError>Expand description
Reads a shot list.
A CSV with a header row. Required columns x_m, y_m, weight;
optional blur_m (default 0), shape (point, the default, disc or
rect), size_m (disc radius, or rectangle width) and size2_m
(rectangle height, default size_m). Blank lines and lines starting with
# are skipped. Lengths are in metres.