Graph Framework
Loading...
Searching...
No Matches
xrays Output File

Table of Contents

Result file format for the traced rays.

Introduction

The results of ray tracing are saved in several NetCDF files depending on how many devices were found. The files have the name format of resultn.nc.

File Format

The result file contains the following information. Note that to allow for complex values, we add an extra dimension the end of 2D arrays. For real values this dimension has size one while complex values have space for the real and imaginary part.

Result file quantities
Dimensions
Name Discription
time Size of time dimension.
num_rays Local number of rays for the device.
ray_dim Size of the dimension for quanties. (1 Real, 2 Complex)
ray_dim_cplx Size of the dimension for complex quantities (Real, Imagine).
2D Qantities
Name Dimensions Discription
d_power (time,num_rays,ray_dim) Change in power.
kamp (time,num_rays,ray_dim_cplx)\(\sqrt{\vec{k}\cdot\vec{k}}\)
kx (time,num_rays,ray_dim) Wave number in \(\hat{x}\) direction.
ky (time,num_rays,ray_dim) Wave number in \(\hat{y}\) direction.
kz (time,num_rays,ray_dim) Wave number in \(\hat{z}\) direction.
power (time,num_rays,ray_dim) Wave power.
residule(time,num_rays,ray_dim) Dispersion function residule.
time (time,num_rays,ray_dim) Time
w (time,num_rays,ray_dim) Wave frequency.
x (time,num_rays,ray_dim) Position in \(\hat{x}\) direction.
y (time,num_rays,ray_dim) Position in \(\hat{y}\) direction.
z (time,num_rays,ray_dim) Position in \(\hat{z}\) direction.