/v1/numerical-aperture
Numerical aperture
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/fiber-api/v1/numerical-aperture" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fiber-api/v1/numerical-aperture", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fiber-api/v1/numerical-aperture");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/fiber-api/v1/numerical-aperture",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "NA = √(n1² − n2²); the acceptance angle θa = arcsin(NA) is the half-angle of the cone of light the fibre captures (in air). Δ = (n1 − n2)/n1.",
"inputs": {
"core_index": 1.48,
"cladding_index": 1.46
},
"numerical_aperture": 0.242487,
"acceptance_cone_deg": 28.066757,
"acceptance_angle_deg": 14.033378,
"relative_index_difference": 0.01351351
},
"meta": {
"timestamp": "2026-06-05T11:30:30.740Z",
"request_id": "02b72b81-24f3-4bc8-9976-67662f216e38"
},
"status": "ok",
"message": "Numerical aperture",
"success": true
}