Catalog/eng-numerical-aperture

Engineering

Numerical aperture API

Computes numerical aperture NA = n·sinθ from an acceptance half-angle, or NA = sqrt(n_core² − n_clad²) for an optical fibre, plus acceptance cone angle and equivalent f-number. Answers 'What is the NA of this objective/fibre?', 'What is the light-gathering acceptance cone?'.

Price$0.04per request
MethodPOST
Route/v1/engineering/numerical-aperture
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
opticsnumerical-aperturenafiber-opticsmicroscopyacceptance-anglef-numberphysics
API URLhttps://x402.hexl.dev/v1/engineering/numerical-aperture
Integration docs
Example request
{
  "mode": "fiber",
  "coreIndex": 1.48,
  "claddingIndex": 1.46
}
Example response
{
  "numericalAperture": 0.242487,
  "acceptanceHalfAngleDeg": 14.0334,
  "acceptanceFullAngleDeg": 28.0668,
  "equivalentFNumber": 2.062,
  "coreIndex": 1.48,
  "claddingIndex": 1.46,
  "interpretation": "NA = 0.2425 (acceptance cone ±14.03°, ≈ f/2.06)."
}
Input schema
{
  "type": "object",
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "angle",
        "fiber"
      ],
      "description": "Calculation mode (default angle)",
      "examples": [
        "fiber"
      ]
    },
    "mediumIndex": {
      "type": "number",
      "description": "Medium index for angle mode (default 1)",
      "examples": [
        1
      ]
    },
    "halfAngleDeg": {
      "type": "number",
      "description": "Acceptance half-angle for angle mode (deg)",
      "examples": [
        30
      ]
    },
    "coreIndex": {
      "type": "number",
      "description": "Fibre core index for fiber mode",
      "examples": [
        1.48
      ]
    },
    "claddingIndex": {
      "type": "number",
      "description": "Fibre cladding index for fiber mode",
      "examples": [
        1.46
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}