/v1/electrical-length
Electrical length
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/transmissionline-api/v1/electrical-length" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/transmissionline-api/v1/electrical-length", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/transmissionline-api/v1/electrical-length");
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/transmissionline-api/v1/electrical-length",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "Wavelength on the line λ = vf·c/f (velocity factor accounts for the dielectric). Electrical length = physical length / λ, in wavelengths, degrees and radians.",
"inputs": {
"length_m": 0.05,
"frequency_hz": 3000000000,
"velocity_factor": 0.66
},
"wavelength_m": 0.065954341,
"electrical_length_deg": 272.916078,
"electrical_length_rad": 4.76328414,
"length_in_wavelengths": 0.7581
},
"meta": {
"timestamp": "2026-06-05T11:30:29.779Z",
"request_id": "d2df8516-58ad-4370-a19b-c1cab8ee496a"
},
"status": "ok",
"message": "Electrical length",
"success": true
}