Skip to content
SimulatorPhysics and the sciences

A gate with a soft edge

A gate rises from 0 to 1 around a threshold. Two hundred made-up inputs are passed through it: set how steep it is, where its threshold lies and how spread out the inputs are.

  • the inputs (made up): those the gate passes in colour
  • dashed: a hard step at the same threshold
Inputs passed
48%
Inputs left undecided
45%
Width of the undecided band
1.46
Mean output of the gate
0.48

Make the gate steeper and it tends to a hard step: fewer inputs are left undecided. Move the threshold through the inputs.

What the simulator does

  • The gate is one half at its threshold; the band in which it is neither clearly open nor clearly shut is 2 ln 9 divided by its steepness wide.
  • A steep gate behaves like a hard step and leaves few inputs undecided; a shallow one grades most of them.
  • Move the threshold through the inputs to see how the share passed follows it.

In Verace Granule

Schematic: a cumulative grain size distribution curve over sieve diameter. Verace Granule predicts this curve from smartphone photographs at 11 support diameters and constrains it to be a valid cumulative distribution.

Percentage passing
Share of soil mass passing each sieve diameter
Silt and clay fines
Estimated from image sharpness by the physical solver
Reaches 100 at 200 mm
Forced by the monotone constraint layer
Cumulative GSD curve
Stays within 0 to 100 and never decreases with diameter

What this is not

This simulator is an illustration of the principle, with made-up numbers. It does not run the lab's code or show the lab's data, and nothing in it is a measurement.

Read the write-up