{"version":1,"free":{"source":{"label":"Source","what":"A light source: a fan of rays and, its field starting from a Gaussian beam (\"gauss\": true, a new source’s) or from even illumination across the fan, a diffracted field that can be shown; the bench’s light turns the rays or the beams off.","angle":"the direction the light leaves in (0 = travelling +x).","fields":[{"k":"wavelength","def":"633","meaning":"nm, 100 to 1000000 (1 mm); longer waves come from an RF feed horn (mmw)."},{"k":"width","def":"4","meaning":"mm: the full width of the ray fan (follows the beam when gauss is true)."},{"k":"softAuto","def":"true","meaning":"true (the default) sets soft for the field grid: 8% of the width at popN 256, in proportion to 256/popN; false keeps soft as given."},{"k":"soft","def":"0","meaning":"mm: without gauss, the field of the fan is a uniform top-hat of its width whose edge rises over this distance (10% to 90%); 0 is a hard edge."},{"k":"divergence","def":"0","meaning":"degrees, full angle of the fan, up to 360 (a lamp shining all round: its rays evenly spaced, none doubled); negative converges."},{"k":"gauss","def":"false","meaning":"true (a new source’s): its field starts from a Gaussian beam, w0 and z0; false: from even illumination across the fan (a uniform pupil, its edge soft)."},{"k":"w0","def":"0.35","meaning":"mm: the 1/e² waist radius."},{"k":"z0","def":"0","meaning":"mm: how far ahead of the source the waist is (negative: behind it)."},{"k":"popN","def":"256","meaning":"grid points for the field: 128, 256, 512 or 1024."},{"k":"popModel","def":"\"auto\"","meaning":"\"auto\" (round when it can be) or \"2d\"."},{"k":"traceRays","def":"true","meaning":"always true: the bench’s light (rays) turns the rays off, for every source."},{"k":"pol","def":"\"unpolarised\"","meaning":"\"unpolarised\", \"s\" (out of the bench plane), \"p\" (in the plane) or \"linear\" (then polAngle)."},{"k":"polAngle","def":"45","meaning":"degrees from p, for pol \"linear\"."},{"k":"lines","def":"[]","meaning":"extra wavelengths in nm, up to 12."},{"k":"rays","def":"11","meaning":"number of rays in the fan, 1 to 501 (use 1 to 11 with gauss)."},{"k":"power","def":"1","meaning":"mW."},{"k":"coh","def":"0","meaning":"coherence length in mm, with cmode \"line\"; 0 for a single frequency."},{"k":"splitFrom","def":"null","meaning":"id of another source this one is split from (same laser, so they interfere); null for a laser of its own."},{"k":"splitPhase","def":"0","meaning":"degrees of phase against the source it is split from."},{"k":"splitPath","def":"0","meaning":"mm of extra fibre before this launch, against the other."},{"k":"lineshape","def":"\"lorentz\"","meaning":"\"lorentz\" or \"gauss\": the laser line’s shape, with coh."},{"k":"cmode","def":"\"single\"","meaning":"\"single\" (one frequency: every path interferes), \"line\" (a line of its own, from coh and lineshape) or \"broad\" (incoherent, broadband light of bandwidth bw: only near-equal paths interfere)."},{"k":"bw","def":"40","meaning":"bandwidth in nm (FWHM), with cmode \"broad\": the coherence length is wavelength² / bw."},{"k":"m2","def":"1","meaning":"beam quality M² ≥ 1."},{"k":"tem","def":"\"gauss\"","meaning":"\"gauss\" (TEM00), \"hg\" (a Hermite–Gauss mode HG_mn) or \"lg\" (a Laguerre–Gauss mode LG_pl, a vortex of charge l when l ≠ 0), built on a Gaussian of waist w0; a higher-order mode uses the 2D field model and ignores m2."},{"k":"hm","def":"1","meaning":"HG m: nodes across the beam in the bench plane, 0–10."},{"k":"hn","def":"0","meaning":"HG n: nodes out of the bench plane, 0–10."},{"k":"lp","def":"0","meaning":"LG p: radial order (rings), 0–10."},{"k":"ll","def":"1","meaning":"LG l: vortex charge, −10 to 10; its phase is a delay of l·theta/2π waves, as a vortex mask of charge l writes it."},{"k":"tau","def":"0","meaning":"fs: a mode-locked laser’s pulse duration (intensity FWHM at its transform limit); 0 for a continuous laser. Its bandwidth then sets coh."},{"k":"pshape","def":"\"sech2\"","meaning":"\"sech2\" or \"gauss\": the pulse’s shape."},{"k":"rep","def":"80","meaning":"MHz: the repetition rate (power is the average power)."},{"k":"gdd0","def":"0","meaning":"fs²: the chirp the pulse leaves the laser with (0 at its transform limit)."},{"k":"fibre","def":null,"meaning":"optional {\"core\": µm, \"na\": NA}: a launch from a single-mode fibre, which sets w0 and z0 itself."}]},"mirror":{"label":"Mirror","what":"A mirror, flat or curved (spherical, conic or aspheric), partly transmitting if reflect < 100.","angle":"the direction its reflecting face points (its normal, towards the light it reflects).","fields":[{"k":"length","def":"25","meaning":"mm: the mirror’s width across the bench."},{"k":"reflect","def":"100","meaning":"% reflected, 0 to 100 (the rest is transmitted, unless transmit says otherwise)."},{"k":"offset","def":"0","meaning":"mm: an off-axis segment of the parent surface, this far from its vertex."},{"k":"k","def":"0","meaning":"conic constant (0 sphere, −1 paraboloid)."},{"k":"R","def":"null","meaning":"mm radius of curvature, null for flat. Positive: concave towards the light it faces (focuses, f = R/2); negative: convex."},{"k":"gdd","def":"0","meaning":"fs² added to each reflection (a chirped mirror; negative compresses a pulse); 0 for an ordinary mirror."},{"k":"mapScale","def":"\"lin\"","meaning":"\"lin\" or \"log\": the irradiance map of the light arriving (its Diffraction tab, as a screen’s)."},{"k":"vectorFocus","def":"\"auto\"","meaning":"\"auto\", \"on\" or \"off\": the vector focus model for steep beams arriving."},{"k":"mtfFreq","def":"50","meaning":"lp/mm at which its Diffraction tab quotes the MTF."}]},"lens":{"label":"Lens","what":"A lens of any number of surfaces (singlet, doublet, asphere, diffractive, cylinder, axicon) in real glass.","angle":"the direction of its optical axis. Surface 1 is on the side the axis points away from: at angle 0 light travelling +x meets surfaces[0] first.","fields":[{"k":"diameter","def":"25.4","meaning":"mm."},{"k":"surfaces","def":"two flat surfaces","meaning":"list of surfaces in the order the light meets them at angle 0, each {\"R\": mm or null for flat, \"k\": conic, \"A\": [aspheric a4, a6, …], \"coat\": coating ({\"mode\": \"bare\" | \"ar\" | \"custom\" | \"band\" | \"stack\" | \"mirror\"}; a mirror coating reflects all it can and passes nothing, \"metal\": \"ideal\" | \"Al\" | \"Ag\" | \"Au\" for its reflectance), \"semi\": optional clear radius, mm (the lens’s own unless given), \"hole\": optional, mm: a hole about the axis where there is no surface, so the light meets the next surface stacked on this one, or goes on, \"fresnel\": optional, mm: a Fresnel face, its curve cut into rings this wide, each keeping the face’s slope where it is but brought back to its vertex plane with a sheer riser between rings (light meeting a riser is lost, as on a real one), so the lens can be far thinner (a flat face stays flat)}. A gap of 0 stacks the next surface on this one at the same vertex: each then applies between its hole and its clear radius (a spot mirror in a hole, a flat ground into a face’s middle, a mirrored annulus round a clear centre). Standard sign convention: R > 0 has its centre of curvature on the far side (downstream)."},{"k":"gaps","def":"[3]","meaning":"mm: centre thicknesses between successive surfaces (one fewer than surfaces); 0 stacks the next surface on this one (the two share a vertex, each applying between its hole and its clear radius)."},{"k":"materials","def":"[{\"glass\":\"N-BK7\"}]","meaning":"one material per gap, e.g. {\"glass\": \"N-BK7\"}."},{"k":"cyl","def":null,"meaning":"optional: \"plane\" for a cylindrical lens with power in the bench plane, \"out\" for power out of it."},{"k":"design","def":null,"meaning":"optional: nm, the wavelength the lens was designed for (an imported lens file’s primary wavelength); for the reader only, it changes nothing in the trace."},{"k":"mount","def":null,"meaning":"optional, a made-to-order RF lens only: {\"kind\": \"flange\", \"width\": mm out from the rim, \"thick\": mm along the axis, \"holes\": bolt holes (0 to 12), \"hole\": their diameter, mm}, on the circle through the flange’s middle. Outside the lens: not traced."},{"k":"zoned","def":null,"meaning":"optional, a made-to-order RF lens of two faces only: {\"ghz\": its zone frequency} to have it cut in zones, whole layers a wave of path deep at that frequency taken out of its curved face where it is thick. The bench traces it as cut (a ray meeting a step’s wall is lost); the RF designer, its weight and its quote take it as cut too."},{"k":"make","def":null,"meaning":"optional: what the lens is made to, for its drawing and Make the part (each value optional; one not given follows the lens designer’s tolerance settings, else a commercial grade): {\"qty\": quantity ordered, \"diaTol\": mm, the diameter’s tolerance (+0/−diaTol), \"ctTol\": ± mm on each centre thickness, \"cent\": centring 4/, arcminutes, \"faces\": one per surface, each {\"finish\": \"polished\" | \"ground\", \"form\": fringes of power and \"irr\": fringes of irregularity at 632.8 nm (3/form(irr)), \"sd\": scratch-dig to MIL-PRF-13830B as \"60-40\", \"chamfer\": mm, the widest protective chamfer at 45°}}."},{"k":"asphere","def":null,"meaning":"true for an asphere: only an asphere’s surfaces take a conic (\"k\"), aspheric terms (\"A\") and freeform terms (\"F\": {\"mn\": c_mn} for c_mn x^m y^n added to the sag, x up out of the bench plane and y across it; m even; \"20\", \"02\", \"21\", \"03\", \"40\", \"22\", \"04\", \"41\", \"23\", \"05\", \"60\", \"42\", \"24\", \"06\"); a plain lens’s are spheres."},{"k":"diffractive","def":null,"meaning":"true for a diffractive lens: its surfaces may take phase terms (\"ph\": [c1, c2, c3, c4], radians, the phase c1 ρ² + c2 ρ⁴ + c3 ρ⁶ + c4 ρ⁸ with ρ the height on the face in mm), in the order of diffraction \"diffOrder\" (1 unless given); all the light is taken to go into that order. Its power there is -diffOrder λ c1 / π."},{"k":"diffOrder","def":null,"meaning":"optional: a diffractive lens’s order of diffraction, a whole number (1 unless given)."},{"k":"graded","def":null,"meaning":"true for a graded-index lens (a GRIN rod lens): each of its glasses may grade from its axis, \"grad\": [g2, g4, g6] in its material, the index n(r) = n + g2 r² + g4 r⁴ + g6 r⁶ with r in mm (n the glass’s own); rays in it curve. A rod whose index falls as n0 (1 - A r²/2) has g2 = -n0 A / 2 and a pitch 2π/√A."}]},"screen":{"label":"Screen","what":"A screen: records the rays and the field arriving on its face, and gives spot size, profile, PSF, MTF, Strehl and more.","angle":"the direction its face points: towards the light it records.","fields":[{"k":"length","def":"25","meaning":"mm: the width of its face."},{"k":"R","def":"null","meaning":"mm: a curved screen; negative puts its centre of curvature on the side the light comes from (like a retina); null for flat."},{"k":"binWidth","def":"0","meaning":"mm for the binned intensity; 0 chooses."},{"k":"binInterp","def":"true","meaning":"true interpolates the rays into the bins."},{"k":"mapScale","def":"\"lin\"","meaning":"\"lin\" or \"log\" irradiance map."},{"k":"vectorFocus","def":"\"auto\"","meaning":"\"auto\", \"on\" or \"off\": the vector focus model for steep beams."},{"k":"trap","def":"\"none\"","meaning":"\"none\", an atom (\"Rb87\", \"Rb85\", \"Cs133\", \"K39\", \"K41\", \"Na23\") to read an optical trap for near this screen (the Trap tab): where it sits, depth, trap frequencies each way and scattering, from every beam through the screen’s region. A particle is a Particle part of its own; a file with \"sphere\" here opens with its particle moved onto one."},{"k":"trapF","def":"\"avg\"","meaning":"for atoms, the ground hyperfine level they are in: \"avg\" (the centroid), \"lo\" or \"hi\" (F = I ∓ 1/2); it moves the lines by a few GHz, which matters close to them (the tune-out wavelength between D1 and D2 moves by picometres)."},{"k":"mtfFreq","def":"50","meaning":"lp/mm at which the MTF is quoted."},{"k":"abSrc","def":"\"\"","meaning":"the id of the fan source the Aberrations tab sweeps across the field (\"\" for the first reaching the screen)."},{"k":"abAng","def":"2","meaning":"its largest field angle, degrees, for a collimated source."},{"k":"abH","def":"1","meaning":"its largest object height, mm, for a diverging source (a point object)."},{"k":"abN","def":"7","meaning":"fields across, 3 to 21."},{"k":"abRays","def":"61","meaning":"rays in each field’s fan, odd, 11 to 401."},{"k":"phosphor","def":null,"meaning":"true: a phosphor screen, whose face glows where the light lands and fades after the light moves on, leaving a trail (from the rays, or the diffracted field when it is shown); its face shows the glow in 3D. Made by the picker’s Phosphor."},{"k":"decay","def":null,"meaning":"a phosphor screen’s decay time, s: the glow falls to 1/e of its brightness this long after the light leaves (0.01 to 120)."},{"k":"glow","def":null,"meaning":"a phosphor screen’s glow colour, \"#rrggbb\"."}]},"stop":{"label":"Stop","what":"An aperture: iris, slit, double slit, slit comb, knife edge or beam block.","angle":"its normal: 0 for a beam travelling ±x (the blades then lie along y).","fields":[{"k":"aperture","def":"5","meaning":"mm: the opening (an iris’s diameter, a slit’s width)."},{"k":"outer","def":"25.4","meaning":"mm: the outer size (a beam block’s diameter)."},{"k":"shape","def":"\"round\"","meaning":"one of the stop shapes below."},{"k":"sep","def":"0.5","meaning":"mm: a double slit’s centre-to-centre separation."},{"k":"pitch","def":"0.2","meaning":"mm: a slit comb’s pitch."},{"k":"count","def":"5","meaning":"a comb’s number of slits, 2 to 400."},{"k":"offset","def":"0","meaning":"mm: the opening’s centre along the stop."},{"k":"height","def":"0","meaning":"mm: a slit’s height out of the plane (0 unlimited)."},{"k":"side","def":"1","meaning":"1 or −1: which side a knife edge covers."}]},"cube":{"label":"Beam splitter cube","what":"A beam-splitter cube: non-polarising (\"npbs\", reflect %) or polarising (\"pbs\", reflectS/reflectP %).","angle":"turns its internal diagonal. At 0 the diagonal runs like \"/\": light travelling +x reflects to +y, travelling −x reflects to −y, and it transmits straight on. At 90 the diagonal is \"\\\": +x reflects to −y.","fields":[{"k":"size","def":"12.7","meaning":"mm edge length."},{"k":"mode","def":"\"npbs\"","meaning":"\"npbs\" or \"pbs\"."},{"k":"reflect","def":"50","meaning":"% reflected, for \"npbs\"."},{"k":"reflectS","def":"99","meaning":"% of s reflected, for \"pbs\"."},{"k":"reflectP","def":"1","meaning":"% of p reflected, for \"pbs\"."},{"k":"material","def":"{\"glass\":\"N-BK7\",\"abs\":0}","meaning":"e.g. {\"glass\": \"N-BK7\"}."},{"k":"coat","def":"{\"mode\":\"bare\",\"R\":4}","meaning":"coating on its outer faces (see Coatings)."}]},"prism":{"label":"Prism","what":"A glass prism or window.","angle":"rotates the prism about its centre; check the result on the bench.","fields":[{"k":"shape","def":"\"right\"","meaning":"one of the prism shapes below. The equilateral prism's apex points along +x at angle 0, so a beam along +x meets the apex; a pentaprism or Pellin–Broca prism takes light in along +x through its first face."},{"k":"size","def":"20","meaning":"mm (a pentaprism's or Pellin–Broca's first face; ignored for a polygon)."},{"k":"thickness","def":"5","meaning":"mm (for a window)."},{"k":"material","def":"{\"glass\":\"N-BK7\",\"abs\":0}","meaning":"e.g. {\"glass\": \"N-BK7\"}."},{"k":"coat","def":"{\"mode\":\"bare\",\"R\":4}","meaning":"coating on its faces."}]},"waveplate":{"label":"Waveplate","what":"A waveplate (retardance in waves).","angle":"its normal: 0 for a beam travelling ±x.","fields":[{"k":"length","def":"25.4","meaning":"mm aperture."},{"k":"retard","def":"0.25","meaning":"retardance in waves (0.25 quarter-wave, 0.5 half-wave, or any value)."},{"k":"axis","def":"45","meaning":"degrees: the fast axis from p."}]},"polariser":{"label":"Polariser","what":"A linear polariser.","angle":"its normal: 0 for a beam travelling ±x.","fields":[{"k":"length","def":"25.4","meaning":"mm aperture."},{"k":"axis","def":"0","meaning":"degrees: the transmission axis from p (0 passes p, 90 passes s)."}]},"mask":{"label":"Mask","what":"A thin mask with an amplitude and a delay (in waves) written as formulas: also the way to model an ideal lens or objective.","angle":"its normal: 0 for a beam travelling ±x.","fields":[{"k":"length","def":"25.4","meaning":"mm aperture."},{"k":"amp","def":"\"1\"","meaning":"amplitude transmission as a formula in x (mm along the mask), y (mm out of the plane), r, theta, lambda (mm) and pi; e.g. \"1\" or \"circ(r/2)\"."},{"k":"delay","def":"\"0\"","meaning":"delay in waves as a formula in the same variables. An ideal lens of focal length f mm: \"-(sqrt(r^2+f^2)-f)/lambda\" (write f as a number)."},{"k":"preset","def":"\"custom\"","meaning":"leave \"custom\"."}]},"grating":{"label":"Grating","what":"A diffraction grating, reflecting or transmitting.","angle":"the direction its ruled face points (like a mirror for mode \"reflect\").","fields":[{"k":"length","def":"25","meaning":"mm."},{"k":"lpmm","def":"600","meaning":"lines per mm."},{"k":"mode","def":"\"reflect\"","meaning":"\"reflect\" or \"transmit\"."},{"k":"blaze","def":"500","meaning":"nm blaze wavelength."},{"k":"eff","def":"80","meaning":"% into the first order at the blaze."}]},"fibre":{"label":"Fibre","what":"A fibre tip: takes free-space light into a fibre by mode overlap, and sends a fibre network’s light out.","angle":"the direction its face points: towards the light it takes in, and the way it sends light out. Its fibre port is on the back.","fields":[{"k":"length","def":"2.5","meaning":"mm: the ferrule face width."},{"k":"core","def":"4.4","meaning":"µm core diameter (mode field set from core and NA)."},{"k":"na","def":"0.12","meaning":"numerical aperture."},{"k":"emitRays","def":"5","meaning":"rays in the fan it sends out, 0 to 51."},{"k":"coll","def":"0","meaning":"mm: the focal length of a collimating lens on the tip (0, the default, for a bare tip). With one, a single-mode tip sends out a collimated beam of 1/e² radius λf/(π w), w the fibre mode, and takes in by that beam's mode."},{"k":"popN","def":"256","meaning":"grid points for the field of the beam it sends out: 128, 256, 512 or 1024."},{"k":"popModel","def":"\"auto\"","meaning":"\"auto\" (round when it can be) or \"2d\" (always 2D, with polarisation)."}]},"detector":{"label":"Photodetector","what":"A free-space photodiode with an amplifier: DC, beat notes, RF spectrum, oscilloscope trace and a mixer output.","angle":"the direction its face points: towards the light.","fields":[{"k":"length","def":"3.6","meaning":"mm: the active area’s diameter."},{"k":"material","def":"\"si\"","meaning":"one of the detector materials below."},{"k":"resp","def":"0.5","meaning":"A/W, used when material is \"custom\"."},{"k":"gain","def":"10000","meaning":"V/A transimpedance."},{"k":"bandwidth","def":"1000000","meaning":"Hz: the amplifier’s 3 dB bandwidth, a single pole; its noise counts over π/2 times it."},{"k":"dark","def":"1","meaning":"nA dark current."},{"k":"ampNoise","def":"2","meaning":"pA/√Hz input noise."},{"k":"vmax","def":"10","meaning":"V output limit."},{"k":"demodF","def":"0","meaning":"MHz: mix the output down at this frequency (0: no mixer). With an EOM at fm, this gives a PDH error signal."},{"k":"demodPhase","def":"0","meaning":"degrees: the mixer’s phase."}]},"spectrometer":{"label":"Spectrometer","what":"A free-space spectrometer: the light through its entrance (a slit, or a fibre core) is spread by wavelength over a detector array. Its Spectrum tab plots counts against wavelength, with the peak, its width, the resolution, the throughput and the signal-to-noise. \"preset\" picks a kind of instrument and sets the rest; any field given as well overrides it (and makes it \"custom\", except the integration time, which is how it is run, not what it is).","angle":"the direction its entrance faces: towards the light arriving (180 for light travelling +x).","fields":[{"k":"length","def":"24","meaning":"mm: its face across the bench, fixed."},{"k":"entrance","def":"\"slit\"","meaning":"\"slit\" or \"fibre\"."},{"k":"slit","def":"25","meaning":"µm: the slit’s width, across the bench; it sets the resolution with the array."},{"k":"slitH","def":"1","meaning":"mm: the slit’s height."},{"k":"core","def":"400","meaning":"µm: a fibre entrance’s core diameter."},{"k":"na","def":"0.13","meaning":"the largest NA of light it takes in."},{"k":"wmin","def":"200","meaning":"nm: the shortest wavelength on the array."},{"k":"wmax","def":"1100","meaning":"nm: the longest."},{"k":"pixels","def":"2048","meaning":"the array’s pixels."},{"k":"pitch","def":"14","meaning":"µm: the pixel pitch."},{"k":"sensor","def":"\"si\"","meaning":"\"si\", \"ingaas\" or \"ingaasx\"."},{"k":"tint","def":"10","meaning":"ms: integration time."},{"k":"well","def":"60000","meaning":"electrons: full well."},{"k":"read","def":"30","meaning":"electrons rms: read noise."},{"k":"dark","def":"50","meaning":"electrons per second per pixel."},{"k":"preset","def":"\"compact\"","meaning":"\"compact\" (200 to 1100 nm, silicon CCD), \"hires\" (550 to 650 nm), \"fibrevis\" (350 to 1000 nm, fibre entrance), \"nir\" (900 to 1700 nm, InGaAs), \"swir\" (1000 to 2500 nm, extended InGaAs) or \"custom\"."}]},"faraday":{"label":"Faraday rotator","what":"A Faraday rotator (non-reciprocal).","angle":"its normal, and the direction of its magnetic field: the sense of rotation depends on the direction of travel against it.","fields":[{"k":"length","def":"5","meaning":"mm aperture."},{"k":"rotation","def":"45","meaning":"degrees of rotation."}]},"isolator":{"label":"Optical isolator","what":"An optical isolator (polariser, 45° Faraday rotator, polariser).","angle":"its forward direction: light travelling along the angle passes, light travelling against it is blocked.","fields":[{"k":"length","def":"5","meaning":"mm aperture."},{"k":"axis","def":"0","meaning":"degrees: the input polariser from p."},{"k":"extinction","def":"40","meaning":"dB, 0 to 80."}]},"stl":{"label":"STL object","what":"An STL object: an opaque shape brought in from a .stl or STEP (.step, .stp) file (a mount, a housing, a baffle), every ray that meets it stopped where it lands, as a beam block. Its triangles (\"mesh\") are written by JEKray when the person imports the file (a STEP file’s solids are tessellated by OpenCascade, as one object or one for each part, grouped); you cannot write one, so leave STL objects out of the file and tell the person to bring theirs in with Open ▾ → Import an object (.stl, .step), or drop the file on the bench.","angle":"the way the object’s own +x (as in its file) points; its tip and roll turn it as any part’s.","fields":[{"k":"mesh","def":"null","meaning":"its triangles, written by the tool when a .stl file is imported: leave it out."},{"k":"units","def":"\"mm\"","meaning":"the file’s units: \"mm\", \"cm\", \"m\", \"in\", or \"other\" with \"scale\" (a STEP file’s own, as it declares them)."},{"k":"scale","def":"1","meaning":"mm per unit of the file, with \"units\": \"other\"."},{"k":"src","def":null,"meaning":"where its shape came from in the person’s cloud files, written by JEKray when one is imported from there: leave it out."}]},"crystal":{"label":"Crystal","what":"A birefringent crystal: beam displacer, Wollaston prism or Glan–Taylor polariser.","angle":"the direction of its entrance face’s normal (0 for light travelling ±x).","fields":[{"k":"shape","def":"\"displacer\"","meaning":"one of the crystal shapes below."},{"k":"crystal","def":"\"calcite\"","meaning":"one of the crystals below."},{"k":"size","def":"10","meaning":"mm aperture."},{"k":"length","def":"10","meaning":"mm length along the beam."},{"k":"axisAngle","def":"45","meaning":"degrees: the optic axis from the normal, for a displacer."},{"k":"wedge","def":"30","meaning":"degrees: the wedge angle, for Wollaston and Glan–Taylor."}]},"filter":{"label":"Filter","what":"A filter: long-pass, short-pass, band-pass or neutral density, optionally reflecting what it rejects (a dichroic).","angle":"its normal: 0 for a beam travelling ±x. A simplification: tilt changes nothing, so an \"nd\" filter transmits 10^−od at any angle and an edge or band does not move to shorter wavelengths as the filter is tilted (a real interference filter’s does).","fields":[{"k":"length","def":"25","meaning":"mm aperture."},{"k":"ftype","def":"\"longpass\"","meaning":"one of the filter types below."},{"k":"edge","def":"600","meaning":"nm: the edge of a long- or short-pass."},{"k":"slope","def":"10","meaning":"nm: the 10–90% width of the edge."},{"k":"centre","def":"550","meaning":"nm: a band-pass centre."},{"k":"fwhm","def":"10","meaning":"nm: a band-pass width."},{"k":"od","def":"1","meaning":"optical density of an \"nd\" filter: it transmits 10^−od."},{"k":"tmax","def":"95","meaning":"% peak transmission."},{"k":"reflect","def":"false","meaning":"true: what it rejects is reflected (a dichroic) rather than absorbed."}]},"gain":{"label":"Gain medium","what":"A thin gain medium with a Lorentzian gain line that saturates: in a cavity above threshold the laser settles at its output power and the output leaves each partly transmitting mirror as a beam.","angle":"its normal: 0 for a beam travelling ±x.","fields":[{"k":"length","def":"6","meaning":"mm: its aperture across the beam (it is a thin sheet)."},{"k":"g0","def":"1.2","meaning":"small-signal single-pass power gain at the line centre (×); the pump sets it."},{"k":"isat","def":"2.9","meaning":"kW/cm² saturation intensity (Nd:YAG 2.9, Ti:sapphire 200, Yb:YAG 10); 0: no saturation. Above threshold the cavity settles at the power where the saturated gain balances the loss, and the output leaves each partly transmitting mirror as a beam."},{"k":"centre","def":"1064","meaning":"nm line centre."},{"k":"fwhm","def":"30","meaning":"nm line width."}]},"cell":{"label":"Vapour cell","what":"An atomic vapour cell (Rb, Cs or K; D1 or D2): Doppler-broadened hyperfine absorption and dispersion at the light’s frequency, and saturated absorption (Lamb dips and crossovers) for a weak beam crossing a strong one going the other way. Set a source’s wavelength to the line in vacuum nm (Rb D2 780.24, Cs D2 852.35).","angle":"its axis: 0 for a beam travelling ±x (the cell lies along x).","fields":[{"k":"length","def":"25","meaning":"mm: the window diameter."},{"k":"cellLen","def":"75","meaning":"mm along the beam (75 is usual)."},{"k":"atom","def":"\"Rb\"","meaning":"\"Rb\" (natural), \"Rb85\", \"Rb87\", \"Cs\", \"K\" (natural: 39K and 41K), \"K39\" or \"K41\"."},{"k":"line","def":"\"D2\"","meaning":"\"D2\" or \"D1\"."},{"k":"temp","def":"25","meaning":"°C: sets the vapour density (25 for room temperature; heat a potassium cell to about 60)."},{"k":"bField","def":"0","meaning":"gauss, a magnetic field along the cell (+ along its angle): Zeeman-split sigma+ and sigma- lines, so circular dichroism (DAVLL) and Faraday rotation (Faraday filters). 0 for none."}]},"nlc":{"label":"Nonlinear crystal","what":"A periodically poled nonlinear crystal (MgO:PPLN or PPKTP) that doubles the frequency of light polarised along its z axis: the second harmonic leaves as a beam of its own, from Boyd and Kleinman’s theory for the focusing, the poling period and the temperature, and the fundamental leaves depleted. Put a lens before it so the beam focuses in its middle.","angle":"its axis: 0 for a beam travelling ±x (the crystal lies along x).","fields":[{"k":"length","def":"3","meaning":"mm: the aperture across the beam."},{"k":"nlLen","def":"20","meaning":"mm along the beam (10 to 50 is usual)."},{"k":"material","def":"\"ppln\"","meaning":"\"ppln\" (MgO:PPLN, d_eff 14 pm/V) or \"ppktp\" (d_eff 9.5 pm/V)."},{"k":"period","def":"0","meaning":"poling period, µm; 0 (the default) picks the best period for the beam through it."},{"k":"temp","def":"40","meaning":"°C: tunes the phase matching (PPLN is usually run hot, 40 to 200)."},{"k":"axis","def":"\"s\"","meaning":"\"s\" (z axis out of the bench plane: s light converts) or \"p\"."},{"k":"faces","def":"\"ar\"","meaning":"\"ar\" (end faces anti-reflection coated, 0.1%; the default) or \"bare\"."}]},"particle":{"label":"Particle","what":"One small particle at a point of the bench: a sphere, a rod or a spheroid, in whatever light reaches it. Its Scattering tab gives its cross-sections and the light it scatters (Lorenz–Mie for a sphere, a dipole array for a rod), its Trap tab the optical trap the light makes for it. The scattered light goes to the parts that catch it, as light of the laser that drives the particle: a lens collimates it, a photodetector reads it with the unscattered beam as fields. The light itself passes the particle untouched.","angle":"the direction of a rod’s or spheroid’s axis in the bench plane (a sphere has none).","fields":[{"k":"trap","def":"\"sphere\"","meaning":"always \"sphere\": the part is a particle (the field a screen’s particle is told by)."},{"k":"trapMat","def":"\"Fused silica\"","meaning":"the particle’s material: a glass (\"Fused silica\", \"Polystyrene\" and so on), or \"Au\", \"Ag\", \"Al\" (metals, which absorb: their measured complex index)."},{"k":"trapR","def":"150","meaning":"the particle’s radius, nm: half its diameter (for a rod or spheroid, half the diameter across its axis)."},{"k":"trapRho","def":"2200","meaning":"its density, kg/m³."},{"k":"trapMed","def":"\"bench\"","meaning":"\"bench\" (the index where the light is), \"vacuum\", \"air\" (with trapP) or \"water\"."},{"k":"trapShape","def":"\"sphere\"","meaning":"\"sphere\", \"cylinder\" (a rod with flat ends), \"capsule\" (a rod with round ends) or \"spheroid\"."},{"k":"trapLen","def":"1000","meaning":"nm: a rod’s or spheroid’s whole length along its axis."},{"k":"trapTilt","def":"0","meaning":"degrees: its axis tilted up out of the bench plane (90: straight up; past 90 it leans back over, to 180)."},{"k":"trapP","def":"1013.25","meaning":"mbar: the air’s pressure, for trapMed \"air\"."},{"k":"trapT","def":"295","meaning":"K: the temperature the trap’s depth is compared with."},{"k":"scatModel","def":"\"auto\"","meaning":"\"auto\" (Mie for a sphere, a dipole array for other shapes, Rayleigh when tiny), \"rayleigh\", \"mie\" or \"dda\"."},{"k":"scatDip","def":"0","meaning":"dipoles across the smallest dimension of a dipole array (0 chooses)."},{"k":"scatAt","def":"\"part\"","meaning":"\"part\": the particle is where the part is; \"trap\": where the optical trap nearest the part holds it."},{"k":"scatDx","def":"0","meaning":"µm: moved from there across the strongest beam, in the bench plane (across it level, for a beam that rises or descends)."},{"k":"scatDy","def":"0","meaning":"µm: moved up out of the plane (up from the beam, square to it, for a beam that rises or descends)."},{"k":"scatDz","def":"0","meaning":"µm: moved along the beam."},{"k":"scatNA","def":"0.5","meaning":"the numerical aperture of the cone the Scattering tab’s Collected figure is for."},{"k":"scatDir","def":"\"fwd\"","meaning":"that cone’s direction: \"fwd\", \"back\", \"side\", \"up\" or \"angle\" (with scatAng)."},{"k":"scatAng","def":"0","meaning":"degrees: the cone’s direction on the bench, for scatDir \"angle\"."},{"k":"scatScale","def":"\"log\"","meaning":"\"lin\", \"log30\", \"log\" (the default), \"log60\" or \"log90\" (logarithmic over 30, 40, 60 or 90 dB): the pattern plots’ scale, and the scattered field picture’s (scatField) on the bench, where in 3D the light along a line of sight is on half the dB."},{"k":"scatView","def":"\"in\"","meaning":"\"in\" (the bench plane), \"out\" (the plane out of it through the beam) or \"map\" (every direction)."},{"k":"scatLight","def":"true","meaning":"true puts the scattered light on the bench: a cone to each part with a clear line to the particle, with the far field’s amplitude, phase and polarisation, coherent with the driving laser. false leaves the bench as it is without it."},{"k":"scatFan","def":"true","meaning":"true draws a faint fan of the scattered light in every direction, as bright as the pattern is; a picture only, never part of a reading."},{"k":"scatField","def":"false","meaning":"true draws an estimate of the scattered field as the diffracted field is drawn (2D and 3D): the far-field pattern falling off as 1/r² as far as the first part each direction meets, and past a part that passes it on the light the cones’ rays carry (each ray’s power over its tube), intensity only, on a scale of its own, scatScale’s (on the bench its dB, in 3D half of them; or linear), whatever the beam’s; a picture only, never part of a reading. Default false."},{"k":"scatShape3d","def":"false","meaning":"true draws the particle’s radiation pattern in the 3D view: a see-through surface about it whose distance from it each way is the scattered intensity that way against the strongest, on a linear scale whatever scatScale, its largest radius five times the particle’s sign (never more than 5 mm on the bench); it turns with the particle. A picture only, drawn while scatLight is on. Default false."}]},"link":{"label":"Link plane","what":"One of a pair of link planes joining two tabs: the pair is one plane seen from two benches.","angle":"its normal. Light crossing one plane of a pair leaves its partner (on another tab) the same way relative to that plane.","fields":[{"k":"length","def":"25","meaning":"mm width."},{"k":"pair","def":"\"Link 1\"","meaning":"the pair’s name: exactly two link planes share it, one on each tab."}]},"aom":{"label":"Acousto-optic modulator","what":"A free-space acousto-optic modulator: shifts the diffracted order by the drive frequency.","angle":"its normal: 0 for a beam travelling ±x. Order +1 turns the beam anticlockwise by asin(λ·rf/v); order −1 clockwise.","fields":[{"k":"length","def":"4","meaning":"mm aperture."},{"k":"rf","def":"80","meaning":"MHz drive: the order is shifted by this."},{"k":"v","def":"4200","meaning":"m/s sound speed (4200 for TeO₂ longitudinal is typical of fibre AOMs; 650 slow shear)."},{"k":"eff","def":"80","meaning":"% into the order."},{"k":"order","def":"1","meaning":"+1 or −1."}]},"eom":{"label":"Electro-optic modulator","what":"A free-space electro-optic modulator: phase (sidebands) or amplitude modulation.","angle":"its normal: 0 for a beam travelling ±x.","fields":[{"k":"length","def":"4","meaning":"mm aperture."},{"k":"fm","def":"20","meaning":"MHz drive."},{"k":"beta","def":"1.08","meaning":"modulation depth in radians."},{"k":"emode","def":"\"phase\"","meaning":"\"phase\" (sidebands) or \"amplitude\"."},{"k":"bias","def":"90","meaning":"degrees, for \"amplitude\"."},{"k":"loss","def":"0","meaning":"dB insertion loss."}]},"chopper":{"label":"Optical chopper","what":"An optical chopper: a slotted wheel across the beam, open for the first part of each cycle; photodetectors behind it see the chopped light (the bench draws it open).","angle":"its blade’s normal: 0 (or 180) across a beam travelling along x, as a stop.","fields":[{"k":"length","def":"10","meaning":"mm aperture across the beam."},{"k":"f","def":"1000","meaning":"Hz, the chopping frequency."},{"k":"duty","def":"50","meaning":"% of each cycle open."},{"k":"phase","def":"0","meaning":"degrees: when in the cycle it opens, against t = 0 (0: opens at t = 0)."}]},"draw":{"label":"Drawing","what":"A drawing for figures: a rectangle, an ellipse, a path of Bézier curves or a text, filled and stroked like an SVG shape. The light passes through it as if it were not there. Its shape is in its own frame, centred on x, y.","angle":"turns the drawing about its x, y.","fields":[{"k":"shape","def":"\"rect\"","meaning":"\"rect\", \"ellipse\", \"path\" or \"text\"."},{"k":"fill","def":"\"none\"","meaning":"\"#rrggbb\", or \"none\" (a text’s colour)."},{"k":"fillOpacity","def":"1","meaning":"0 to 1."},{"k":"stroke","def":"\"#e8edf0\"","meaning":"\"#rrggbb\", or \"none\"."},{"k":"strokeOpacity","def":"1","meaning":"0 to 1."},{"k":"strokeWidth","def":"0.5","meaning":"mm."},{"k":"dash","def":"\"solid\"","meaning":"\"solid\", \"dash\", \"long\", \"dot\" or \"dashdot\"."},{"k":"cap","def":"\"butt\"","meaning":"\"butt\", \"round\" or \"square\"."},{"k":"join","def":"\"miter\"","meaning":"\"miter\", \"round\" or \"bevel\"."},{"k":"opacity","def":"1","meaning":"0 to 1: the whole drawing."},{"k":"layer","def":"\"under\"","meaning":"\"under\" the beams and parts, or \"over\" them."},{"k":"w","def":"20","meaning":"mm, a rectangle’s width."},{"k":"h","def":"12","meaning":"mm, a rectangle’s height."},{"k":"r","def":"0","meaning":"mm, a rectangle’s corner radius."},{"k":"rx","def":null,"meaning":"mm, an ellipse’s radius along x."},{"k":"ry","def":null,"meaning":"mm, an ellipse’s radius along y."},{"k":"nodes","def":null,"meaning":"a path’s nodes, [{\"x\": mm, \"y\": mm, \"h1\": [dx, dy] or null, \"h2\": [dx, dy] or null}], from x, y; h1 and h2 are the Bézier handles into and out of the node, from it (null: a straight piece). \"smooth\": true keeps a node’s handles in line when one is dragged."},{"k":"closed","def":null,"meaning":"true joins a path’s last node to its first."},{"k":"text","def":null,"meaning":"a text’s words; \\n starts a new line. x, y is where its first line starts, is centred or ends (align), on its baseline."},{"k":"size","def":null,"meaning":"mm, a text’s font size."},{"k":"font","def":null,"meaning":"\"sans\", \"serif\" or \"mono\"."},{"k":"bold","def":null,"meaning":"true for bold text."},{"k":"italic","def":null,"meaning":"true for italic text."},{"k":"align","def":null,"meaning":"\"left\", \"center\" or \"right\"."},{"k":"m","def":null,"meaning":"optional [a, b, c, d]: a skew (or scale) on the shape before its angle, x′ = a x + c y, y′ = b x + d y; left out, none."}]}},"fibre":{"laser":{"label":"Fibre laser","ports":["out"],"fields":[{"k":"wavelength","def":"1550","meaning":"Wavelength (nm)"},{"k":"power","def":"1","meaning":"Power (mW)"},{"k":"coh","def":"0","meaning":"Coherence length (mm)"},{"k":"polAngle","def":"0","meaning":"Polarisation angle from s (°), for pol \"linear\""},{"k":"tau","def":"0","meaning":"Pulse duration (fs; 0: continuous)"},{"k":"rep","def":"80","meaning":"Repetition rate (MHz)"},{"k":"gdd0","def":"0","meaning":"Chirp at the laser (fs²)"}]},"coupler":{"label":"2×2 coupler","ports":["1","2","3","4"],"fields":[{"k":"ratio","def":"50","meaning":"Coupled across (%)"},{"k":"loss","def":"0","meaning":"Excess loss (dB)"}]},"split":{"label":"Splitter","ports":["common","1","2"],"fields":[{"k":"ways","def":"2","meaning":"Branches"},{"k":"loss","def":"0.2","meaning":"Excess loss (dB)"}]},"star":{"label":"Star coupler","ports":["in 1","in 2","out 1","out 2"],"fields":[{"k":"ins","def":"2","meaning":"Inputs"},{"k":"outs","def":"4","meaning":"Outputs"},{"k":"loss","def":"0.3","meaning":"Excess loss (dB)"}]},"pbs":{"label":"Polarisation beam splitter","ports":["common","along","across"],"fields":[{"k":"axis","def":"0","meaning":"Axis (° from s)"},{"k":"extinction","def":"25","meaning":"Extinction (dB)"},{"k":"loss","def":"0.5","meaning":"Insertion loss (dB)"}]},"depol":{"label":"Depolariser","ports":["1","2"],"fields":[{"k":"dgd","def":"5","meaning":"Delay between axes (ps)"},{"k":"loss","def":"0.3","meaning":"Insertion loss (dB)"}]},"fmir":{"label":"Fibre mirror","ports":["1","2"],"fields":[{"k":"rmax","def":"50","meaning":"Reflectance (%)"},{"k":"loss","def":"0","meaning":"Excess loss (dB)"}]},"switch":{"label":"Optical switch","ports":["1","2","3","4"],"fields":[{"k":"cross","def":"0","meaning":"State (0 bar, 1 cross)"},{"k":"loss","def":"0.8","meaning":"Insertion loss (dB)"},{"k":"xt","def":"50","meaning":"Crosstalk (dB)"}]},"delay":{"label":"Variable delay line","ports":["1","2"],"fields":[{"k":"delay","def":"0","meaning":"Delay (ps)"},{"k":"loss","def":"1","meaning":"Insertion loss (dB)"}]},"stretch":{"label":"Fibre stretcher","ports":["1","2"],"fields":[{"k":"phase","def":"0","meaning":"Phase (°)"},{"k":"vpi","def":"2","meaning":"Vπ (V)"},{"k":"loss","def":"0.1","meaning":"Insertion loss (dB)"}]},"tbf":{"label":"Tunable filter","ports":["1","2"],"fields":[{"k":"centre","def":"1550","meaning":"Centre (nm)"},{"k":"fwhm","def":"1","meaning":"Width (nm)"},{"k":"loss","def":"1","meaning":"Insertion loss (dB)"}]},"osa":{"label":"Optical spectrum analyser","ports":["in"],"fields":[{"k":"rbw","def":"0.1","meaning":"Resolution (nm)"},{"k":"wmin","def":"0","meaning":"From (nm; 0: auto)"},{"k":"wmax","def":"0","meaning":"To (nm; 0: auto)"},{"k":"ref","def":"10","meaning":"Top (dBm)"},{"k":"dbdiv","def":"10","meaning":"dB per division"}]},"wdm":{"label":"WDM","ports":["common","pass","rest"],"fields":[{"k":"centre","def":"1550","meaning":"Pass band centre (nm)"},{"k":"fwhm","def":"20","meaning":"Pass band width (nm)"},{"k":"loss","def":"0.3","meaning":"Insertion loss (dB)"}]},"circ":{"label":"Circulator","ports":["1","2","3"],"fields":[{"k":"loss","def":"0.8","meaning":"Insertion loss (dB)"},{"k":"iso","def":"40","meaning":"Isolation (dB)"}]},"iso":{"label":"Isolator","ports":["in","out"],"fields":[{"k":"loss","def":"0.5","meaning":"Insertion loss (dB)"},{"k":"iso","def":"40","meaning":"Isolation (dB)"}]},"voa":{"label":"Attenuator","ports":["1","2"],"fields":[{"k":"att","def":"3","meaning":"Attenuation (dB)"}]},"pc":{"label":"Polarisation controller","ports":["1","2"],"fields":[{"k":"a1","def":"0","meaning":"Paddle 1, λ/4 (°)"},{"k":"a2","def":"0","meaning":"Paddle 2, λ/2 (°)"},{"k":"a3","def":"0","meaning":"Paddle 3, λ/4 (°)"}]},"pol":{"label":"In-line polariser","ports":["1","2"],"fields":[{"k":"axis","def":"0","meaning":"Axis (° from s)"},{"k":"extinction","def":"30","meaning":"Extinction (dB)"},{"k":"loss","def":"0.5","meaning":"Insertion loss (dB)"}]},"fm":{"label":"Faraday mirror","ports":["in"],"fields":[{"k":"rmax","def":"99","meaning":"Reflectance (%)"},{"k":"loss","def":"0","meaning":"Extra loss (dB)"}]},"fbg":{"label":"Fibre Bragg grating","ports":["1","2"],"fields":[{"k":"centre","def":"1550","meaning":"Bragg wavelength (nm)"},{"k":"len","def":"5","meaning":"Length (mm)"},{"k":"dn","def":"0.00018","meaning":"Index modulation δn"},{"k":"vis","def":"1","meaning":"Fringe visibility (0 to 1)"},{"k":"neff","def":"1.468","meaning":"Effective index"},{"k":"chirp","def":"0","meaning":"Chirp (nm/cm)"},{"k":"fwhm","def":"0.5","meaning":"Bandwidth (nm), model \"band\""},{"k":"rmax","def":"90","meaning":"Peak reflectance (%), model \"band\""}]},"term":{"label":"Terminator","ports":["in"],"fields":[{"k":"rl","def":"60","meaning":"Return loss (dB)"}]},"pd":{"label":"Fibre photodetector","ports":["in"],"fields":[{"k":"resp","def":"1","meaning":"Responsivity (A/W)"},{"k":"gain","def":"10000","meaning":"Gain (V/A)"},{"k":"vmax","def":"10","meaning":"Output limit (V)"},{"k":"bandwidth","def":"1000000000","meaning":"Bandwidth (Hz)"},{"k":"dark","def":"1","meaning":"Dark (nA)"},{"k":"ampNoise","def":"2","meaning":"Noise (pA/√Hz)"},{"k":"demodF","def":"0","meaning":"Demod. at (MHz)"},{"k":"demodPhase","def":"0","meaning":"Demod. phase (°)"}]},"thru":{"label":"Feedthrough","ports":["port"],"fields":[]},"aom":{"label":"Fibre AOM","ports":["in","out"],"fields":[{"k":"rf","def":"80","meaning":"Drive (MHz)"},{"k":"order","def":"1","meaning":"Order (+1 or −1)"},{"k":"loss","def":"2.5","meaning":"Insertion loss (dB)"}]},"eom":{"label":"Fibre EOM","ports":["in","out"],"fields":[{"k":"fm","def":"1000","meaning":"Drive (MHz)"},{"k":"beta","def":"1.08","meaning":"Depth β (rad)"},{"k":"bias","def":"90","meaning":"Bias (°, amplitude mode)"},{"k":"loss","def":"3","meaning":"Insertion loss (dB)"}]},"amp":{"label":"Fibre amplifier","ports":["in","out"],"fields":[{"k":"g0","def":"20","meaning":"Small-signal gain (dB)"},{"k":"psat","def":"17","meaning":"Saturated output (dBm)"},{"k":"nf","def":"5","meaning":"Noise figure (dB)"},{"k":"centre","def":"1545","meaning":"Band centre (nm)"},{"k":"bw","def":"35","meaning":"Band width (nm)"},{"k":"iso","def":"40","meaning":"Isolation backwards (dB)"}]}},"elec":{"dc":{"label":"DC source","ins":[],"outs":["out"],"fields":[{"k":"v","def":"1","meaning":"Voltage (V)"}]},"sig":{"label":"Signal generator","ins":[],"outs":["out","sync"],"fields":[{"k":"wave","def":"\"sine\"","meaning":"Waveform: \"sine\" (Sine), \"square\" (Square), \"triangle\" (Triangle), \"pulse\" (Pulse)"},{"k":"f","def":"1000","meaning":"Frequency (Hz)"},{"k":"amp","def":"1","meaning":"Amplitude (V)"},{"k":"offset","def":"0","meaning":"Offset (V)"},{"k":"phase","def":"0","meaning":"Phase (°)"},{"k":"duty","def":"50","meaning":"Duty (%)"}]},"noise":{"label":"Noise source","ins":[],"outs":["out"],"fields":[{"k":"psd","def":"100","meaning":"Density (nV/√Hz)"},{"k":"bw","def":"1000000","meaning":"Bandwidth (Hz)"}]},"amp":{"label":"Amplifier","ins":["in"],"outs":["out"],"fields":[{"k":"gain","def":"10","meaning":"Gain (V/V)"},{"k":"bw","def":"1000000","meaning":"Bandwidth (Hz)"},{"k":"en","def":"5","meaning":"Input noise (nV/√Hz)"},{"k":"vmax","def":"10","meaning":"Output limit (V)"}]},"tia":{"label":"Transimpedance amplifier","ins":["in"],"outs":["out"],"fields":[{"k":"gain","def":"100000","meaning":"Gain (V/A)"},{"k":"bw","def":"100000","meaning":"Bandwidth (Hz)"},{"k":"inoise","def":"1","meaning":"Input noise (pA/√Hz)"},{"k":"vmax","def":"10","meaning":"Output limit (V)"}]},"lpf":{"label":"Low-pass filter","ins":["in"],"outs":["out"],"fields":[{"k":"fc","def":"10000","meaning":"Corner (Hz)"},{"k":"order","def":"1","meaning":"Order: 1 (1), 2 (2), 3 (3), 4 (4)"}]},"hpf":{"label":"High-pass filter","ins":["in"],"outs":["out"],"fields":[{"k":"fc","def":"100","meaning":"Corner (Hz)"},{"k":"order","def":"1","meaning":"Order: 1 (1), 2 (2), 3 (3), 4 (4)"}]},"bpf":{"label":"Band-pass filter","ins":["in"],"outs":["out"],"fields":[{"k":"f0","def":"1000","meaning":"Centre (Hz)"},{"k":"bw","def":"100","meaning":"Bandwidth (Hz)"},{"k":"order","def":"1","meaning":"Order: 1 (1), 2 (2), 3 (3), 4 (4)"}]},"att":{"label":"Attenuator","ins":["in"],"outs":["out"],"fields":[{"k":"db","def":"10","meaning":"Attenuation (dB)"}]},"biastee":{"label":"Bias tee","ins":["rf","dc"],"outs":["rf+dc"],"fields":[{"k":"fc","def":"10000","meaning":"Corner (Hz)"}]},"comp":{"label":"Comparator","ins":["in"],"outs":["out"],"fields":[{"k":"thr","def":"0","meaning":"Threshold (V)"},{"k":"vhi","def":"5","meaning":"Output high (V)"},{"k":"vlo","def":"0","meaning":"Output low (V)"}]},"mixer":{"label":"Mixer","ins":["a","b"],"outs":["out"],"fields":[{"k":"k","def":"1","meaning":"Gain (1/V)"}]},"sum":{"label":"Summing junction","ins":["a","b"],"outs":["out"],"fields":[{"k":"ga","def":"1","meaning":"Gain, a"},{"k":"gb","def":"1","meaning":"Gain, b"}]},"node":{"label":"Node","ins":["in"],"outs":["out"],"fields":[]},"scope":{"label":"Oscilloscope","ins":["ch1","ch2"],"outs":[],"fields":[{"k":"mode","def":"\"normal\"","meaning":"Mode: \"normal\" (Normal), \"roll\" (Roll)"},{"k":"span","def":"0.005","meaning":"Time span (s; 0: auto)"},{"k":"v1div","def":"0","meaning":"Ch1 per division (0: auto)"},{"k":"v1off","def":"0","meaning":"Ch1 offset"},{"k":"v2div","def":"0","meaning":"Ch2 per division (0: auto)"},{"k":"v2off","def":"0","meaning":"Ch2 offset"}]},"spec":{"label":"Spectrum analyser","ins":["in"],"outs":[],"fields":[{"k":"scale","def":"\"log\"","meaning":"Frequency axis: \"log\" (Log), \"linear\" (Linear)"},{"k":"rbw","def":"10","meaning":"Resolution bandwidth (Hz)"},{"k":"fmin","def":"10","meaning":"From (Hz; 0: auto)"},{"k":"fmax","def":"1000000","meaning":"To (Hz; 0: auto)"},{"k":"dbdiv","def":"0","meaning":"dB per division (0: auto)"},{"k":"ref","def":"0","meaning":"Top (dB)"}]},"lockin":{"label":"Lock-in amplifier","ins":["signal","ref"],"outs":["x","y"],"fields":[{"k":"harm","def":"1","meaning":"Harmonic"},{"k":"phase","def":"0","meaning":"Phase (°)"},{"k":"tau","def":"0.1","meaning":"Time constant (s)"},{"k":"slope","def":"2","meaning":"Slope: 1 (6 dB/oct), 2 (12 dB/oct), 3 (18 dB/oct), 4 (24 dB/oct)"}]},"thru":{"label":"Electrical feedthrough","ins":["in"],"outs":["out"],"fields":[]},"daq":{"label":"DAQ (ADC)","ins":["in"],"outs":["out"],"fields":[{"k":"rate","def":"10000","meaning":"Sample rate (S/s)"},{"k":"bits","def":"16","meaning":"Bits"},{"k":"range","def":"10","meaning":"Range, ± (V)"}]}},"pic":{"gc":{"label":"Grating coupler","ports":["chip","fibre"],"fields":[{"k":"centre","def":"1550","meaning":"Centre (nm)"},{"k":"peak","def":"-3","meaning":"Peak (dB)"},{"k":"bw","def":"30","meaning":"1 dB band (nm)"},{"k":"polAngle","def":"0","meaning":"Fibre pol. (° from s)"}]},"dc":{"label":"Directional coupler","ports":["1","2","3","4"],"fields":[{"k":"kappa","def":"50","meaning":"Coupling (%)"},{"k":"dkappa","def":"0","meaning":"Change (%/nm)"},{"k":"loss","def":"0","meaning":"Excess loss (dB)"}]},"mmi12":{"label":"1×2 MMI","ports":["in","out 1","out 2"],"fields":[{"k":"loss","def":"0.2","meaning":"Excess loss (dB)"}]},"mmi22":{"label":"2×2 MMI","ports":["1","2","3","4"],"fields":[{"k":"loss","def":"0.2","meaning":"Excess loss (dB)"}]},"ring":{"label":"Ring, all-pass","ports":["in","through"],"fields":[{"k":"radius","def":"10","meaning":"Radius (µm)"},{"k":"kappa1","def":"10","meaning":"Coupling (%)"},{"k":"neff","def":"2.44","meaning":"n_eff at 1550 nm"},{"k":"ng","def":"4.2","meaning":"Group index"},{"k":"loss","def":"2","meaning":"Loss (dB/cm)"}]},"ringad":{"label":"Ring, add-drop","ports":["in","through","add","drop"],"fields":[{"k":"radius","def":"10","meaning":"Radius (µm)"},{"k":"kappa1","def":"10","meaning":"Coupling, in (%)"},{"k":"kappa2","def":"10","meaning":"Coupling, drop (%)"},{"k":"neff","def":"2.44","meaning":"n_eff at 1550 nm"},{"k":"ng","def":"4.2","meaning":"Group index"},{"k":"loss","def":"2","meaning":"Loss (dB/cm)"}]},"ps":{"label":"Phase shifter","ports":["1","2"],"fields":[{"k":"phase","def":"0","meaning":"Phase (°)"},{"k":"len","def":"100","meaning":"Length (µm)"},{"k":"neff","def":"2.44","meaning":"n_eff at 1550 nm"},{"k":"ng","def":"4.2","meaning":"Group index"},{"k":"loss","def":"2","meaning":"Loss (dB/cm)"}]},"pd":{"label":"On-chip photodiode","ports":["in"],"fields":[{"k":"resp","def":"1","meaning":"Responsivity (A/W)"},{"k":"gain","def":"10000","meaning":"Gain (V/A)"},{"k":"vmax","def":"10","meaning":"Output limit (V)"},{"k":"bandwidth","def":"1000000000","meaning":"Bandwidth (Hz)"},{"k":"demodF","def":"0","meaning":"Demod. at (MHz)"},{"k":"demodPhase","def":"0","meaning":"Demod. phase (°)"}]}}}
