Skip to content
Snippets Groups Projects
Commit dfe5906d authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

[j.0] repair OpaqueProfile1 example: replace obsolete FixedBinAxis by...

[j.0] repair OpaqueProfile1 example: replace obsolete FixedBinAxis by EquiDivision (#1066) (Closes #1066)

Merging branch 'j.0'  into 'main'.

See merge request !2827
parents 36ce0017 8ad35233
No related branches found
No related tags found
1 merge request!2827repair OpaqueProfile1 example: replace obsolete FixedBinAxis by EquiDivision (#1066)
Pipeline #185345 passed
......@@ -46,7 +46,7 @@ def get_simulation(sample):
footprint = ba.FootprintSquare(0.01)
scan.setFootprint(footprint)
z_axis = ba.FixedBinAxis("z", nz, z_min, z_max)
z_axis = ba.EquiDivision("z", nz, z_min, z_max)
simulation = ba.DepthprobeSimulation(scan, sample, z_axis)
return simulation
......
......@@ -46,7 +46,7 @@ def get_simulation(sample):
footprint = ba.FootprintSquare(0.01)
scan.setFootprint(footprint)
z_axis = ba.FixedBinAxis("z", nz, z_min, z_max)
z_axis = ba.EquiDivision("z", nz, z_min, z_max)
simulation = ba.DepthprobeSimulation(scan, sample, z_axis)
return simulation
......
......@@ -46,7 +46,7 @@ def get_simulation(sample):
footprint = ba.FootprintSquare(0.01)
scan.setFootprint(footprint)
z_axis = ba.FixedBinAxis("z", nz, z_min, z_max)
z_axis = ba.EquiDivision("z", nz, z_min, z_max)
simulation = ba.DepthprobeSimulation(scan, sample, z_axis)
return simulation
......
......@@ -46,7 +46,7 @@ def get_simulation(sample):
footprint = ba.FootprintSquare(0.01)
scan.setFootprint(footprint)
z_axis = ba.FixedBinAxis("z", nz, z_min, z_max)
z_axis = ba.EquiDivision("z", nz, z_min, z_max)
simulation = ba.DepthprobeSimulation(scan, sample, z_axis)
return simulation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment