You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I figured that out a while ago for SolTrace 2012.7.9 using wxHexEditor :
all entries double values (8 bytes = 64 bit)
the first four entries are the size of the bounding box (see interface "over box of dimensions" in Intersections after raytracing. The order is [x_min, x_max, y_min, y_max]
the next entry is "sun ray count", this is the number of rays that were started from the sun. It is used to calculate the power per ray
The doc states:
The first input box is the number of rays to be traced. Recall from previous discussions that this many rays will actually interact with elements of Stage 1. The code continues to generate rays until the number of requested rays have fallen on elements of Stage 1. The code tallies the total number of rays generated within the rectangle, both those that fell on an element and those that did not, divides this number into the area of the rectangle and multiplies the result by the Direct Normal Insolation value (described in the Visualization section). This results in a unit power/ray value subsequently used to calculate power and flux values.
the next number is the number of entries (rows) in the ray table.
then data (9 * number of entries) float64 values
a single row consists of 9 values, order is [X,Y,Z,CosX,CosY,CosZ,Stage,Element,RayNum]
Hi,
Is there any documentation for how to read the binary file created from writerayfile()? What is the encoding method?
Thanks,
Tamir
The text was updated successfully, but these errors were encountered: