|
void | probePhotonPacket (const PhotonPacket *pp) override |
|
WavelengthGrid * | materialWavelengthGrid () const override |
|
WavelengthGrid * | wavelengthGrid () const |
|
Range | wavelengthRange () const override |
|
string | itemName () const override |
|
int | iter () const |
|
string | probeName () const |
|
void | probePrimary (int iter) |
|
void | probeRun () |
|
void | probeSecondary (int iter) |
|
void | probeSetup () |
|
template<class T > |
T * | find (bool setup=true) const |
|
template<class T > |
T * | interface (int levels=-999999, bool setup=true) const |
|
virtual string | itemName () const |
|
void | setup () |
|
string | typeAndName () const |
|
| Item (const Item &)=delete |
|
virtual | ~Item () |
|
void | addChild (Item *child) |
|
const vector< Item * > & | children () const |
|
virtual void | clearItemListProperty (const PropertyDef *property) |
|
void | destroyChild (Item *child) |
|
virtual bool | getBoolProperty (const PropertyDef *property) const |
|
virtual vector< double > | getDoubleListProperty (const PropertyDef *property) const |
|
virtual double | getDoubleProperty (const PropertyDef *property) const |
|
virtual string | getEnumProperty (const PropertyDef *property) const |
|
virtual int | getIntProperty (const PropertyDef *property) const |
|
virtual vector< Item * > | getItemListProperty (const PropertyDef *property) const |
|
virtual Item * | getItemProperty (const PropertyDef *property) const |
|
virtual string | getStringProperty (const PropertyDef *property) const |
|
int | getUtilityProperty (string name) const |
|
virtual void | insertIntoItemListProperty (const PropertyDef *property, int index, Item *item) |
|
Item & | operator= (const Item &)=delete |
|
Item * | parent () const |
|
virtual void | removeFromItemListProperty (const PropertyDef *property, int index) |
|
virtual void | setBoolProperty (const PropertyDef *property, bool value) |
|
virtual void | setDoubleListProperty (const PropertyDef *property, vector< double > value) |
|
virtual void | setDoubleProperty (const PropertyDef *property, double value) |
|
virtual void | setEnumProperty (const PropertyDef *property, string value) |
|
virtual void | setIntProperty (const PropertyDef *property, int value) |
|
virtual void | setItemProperty (const PropertyDef *property, Item *item) |
|
virtual void | setStringProperty (const PropertyDef *property, string value) |
|
void | setUtilityProperty (string name, int value) |
|
virtual string | type () const |
|
virtual WavelengthGrid * | materialWavelengthGrid () const |
|
virtual | ~WavelengthRangeInterface () |
|
virtual Range | wavelengthRange () const =0 |
|
virtual | ~ProbePhotonPacketInterface () |
|
virtual void | probePhotonPacket (const PhotonPacket *pp)=0 |
|
LaunchedPacketsProbe outputs a text column file with the number of photon packets launched from primary and, if applicable, secondary sources on a specified wavelength grid (or on the default instrument wavelength grid). If the simulation iterates over primary and/or secondary emission, the photon packets launched during all iterations are accumulated in the counts. The probe uses the wavelength at the time when the photon packet was originally emitted, in the rest-frame of the original source.
The output file is named prefix_launchedpackets.txt
. The first column lists the characteristic wavelength of the wavelength bin. Subsequent columns list a number of photon packets launched from primary and, if applicable, secondary sources in that wavelength bin, in the following order:
- A column listing the total number of photon packets launched from primary sources.
- A column for each primary source, listing the number of photon packets launched from that source. These columns are in the same order as the source components in the configuration file.
- If the simulation has secondary emission, a column listing the total number of photon packets launched from secondary sources.
- If the simulation has secondary emission from dust, a column listing the total number of photon packets launched from all dust medium components (in other words, all dust emission is aggregated).
- If the simulation has secondary emission from gas, a column for each emitting gas component listing the number of photon packets launched from that gas medium component. These columns are in the same order as the emitting gas components in the configuration file.
The current implementation uses doubles to count the photon packets in each source/wavelength bin. Consequently, the results will be incorrect when the number of photon packets in a single bin exceeds 9e15.
This item type is displayed only if the Boolean expression "Level2&Source" evaluates to true after replacing the names by true or false depending on their presence.