point-source: specification#
Options and examples: point-source. Writer B, producer
obdeect sources point-source.
Validation and defaults#
-R: the written run number isrunif> 0, else 1.-bbelow 1 is used as 1.Direction
-d: normalised; all zero is an error (point-source: direction vector must not be zero).Spectrum, pulse and angular texts are parsed after all options. A trailing missing value:
<opt>: missing value.Photons per case must be finite,
>= 0and<= 2^53(point-source: photons must be finite, >= 0 and at most 2^53).A bare number in
-pis a Gauss sigma (mean 0).
Run record#
Telescopes: without a telescope file, one telescope id 1 at (0, 0, 0) with radius
r/100m. With a file: ids 1.. in file order, centre and radius divided by 100.wavelength_min/maxfrom the spectrum range (written only if max > 0).atmosphere_id=-A;observation_level_m=-h. No extra keys.
Cases and emissions#
One case per
-nvalue; each case is written-Ntimes; event numbers run from 1.Case
c: one emitter at(x, y, z)/100m,pointing = normalised(d), profile-a,Source.photons = photons[c] / b, seedseed + c, time offset 0, frame sky.Target:
rmax = fiducial_super_radius(telescopes). If|position| > 1.02 rmax:isotropic:
SphereTarget(origin, 1.02 rmax), count per eventphotons/b (1 - sqrt(1 - (1.02 rmax/d)^2)) / 2;FixedAngle: no target;
other profiles: error
point-source: a non-isotropic profile beyond 1.02 x the fiducial radius is not supported (use isotropic or Cone/Parallel).
Every telescope block gets the same photons (telescope key 0),
w = b(float32),zem = observation_level + z.