/v1/highpass
RC/RL high-pass filter
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/rcfilter-api/v1/highpass" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/rcfilter-api/v1/highpass", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/rcfilter-api/v1/highpass");
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/rcfilter-api/v1/highpass",
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": {
"gain": 0.70710691,
"note": "First-order high-pass: fc = 1/(2πRC) (RC) or R/(2πL) (RL); |H| = (f/fc)/√(1+(f/fc)²); at fc the gain is −3.01 dB and phase +45°.",
"inputs": {
"c": 1.0e-6,
"r": 1000
},
"gain_db": -3.010298,
"topology": "RC",
"phase_deg": 44.99999,
"filter_type": "highpass",
"at_frequency_hz": 159.155,
"time_constant_s": 0.001,
"cutoff_frequency_hz": 159.15494309,
"angular_cutoff_rad_s": 1000
},
"meta": {
"timestamp": "2026-06-05T19:50:30.663Z",
"request_id": "0706e461-0092-427d-b6dd-3c947a9e5068"
},
"status": "ok",
"message": "RC/RL high-pass filter",
"success": true
}