Function load_photon_source_table

Source
pub fn load_photon_source_table(path: &str) -> Result<InjectionScenario, String>
Expand description

Load a tabulated photon source from a CSV file.

File format: Header: z,x1,x2,...,xN Each row: z_i,source(x1,z_i),source(x2,z_i),...,source(xN,z_i)

Returns TabulatedPhotonSource variant.