Skip to content

Unclear instructions for FieldProbe:Plane #5732

Open
@titoiride

Description

@titoiride

Hi all,
I find the documentation regarding the definition of a planar probe a bit confusing and I don't seem to be able to extract meaningful results from it.
For my simulation, the probe is defined as

fieldsOnPlanexz.type = FieldProbe
fieldsOnPlanexz.probe_geometry = Plane
fieldsOnPlanexz.x_probe = 0
fieldsOnPlanexz.y_probe = 0
fieldsOnPlanexz.z_probe = -15e-6
fieldsOnPlanexz.target_normal_x = 0
fieldsOnPlanexz.target_normal_y = 1
fieldsOnPlanexz.target_normal_z = 0
fieldsOnPlanexz.target_up_x = 1
fieldsOnPlanexz.target_up_y = 0
fieldsOnPlanexz.target_up_z = 0
fieldsOnPlanexz.detector_radius = 15e-6
fieldsOnPlanexz.resolution = 1000
fieldsOnPlanexz.intervals = 500
fieldsOnPlanexz.do_moving_window_FP = 1

My understanding from the guide is that this should be a x-z plane (normal vector y), centered in (0, 0, -15) um and with a 15 um size (each direction?), 1000 points per side. However, when I extract the data from it i get some inconsistencies and I wanted to understand where I'm mistaken, if in the probe definition or the data extraction. I extracted the files using a pandas dataframe and I'm looking at the axis produced. The y axis is the only one that seems consistent with the definition, i.e. the np.unique function returns array([0.]).

For the xaxis:

  • 1470 entries
  • x_min = -10.6 um
  • x_max = 10.6 um

For the z axis:

  • 1000 entries
  • z_min = -25.6 um
  • z_max = -4.4 um

Both axis have an extent of 21.2 um, which seems to me being 15*sqrt(2). How do I interpret the detector radius and resolution parameters? Unfortunately the documentation does not provide too many details. Last point, the other parameter that is not clear from the documentation is the "up" vector. Would it be possible to include this picture for future reference?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions