/v1/lowpass
RC/RL low-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/lowpass" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/rcfilter-api/v1/lowpass", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/rcfilter-api/v1/lowpass");
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/lowpass",
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.70710665,
"note": "First-order low-pass: fc = 1/(2πRC) (RC) or R/(2πL) (RL); |H| = 1/√(1+(f/fc)²); at fc the gain is −3.01 dB and phase −45°.",
"inputs": {
"c": 1.0e-6,
"r": 1000
},
"gain_db": -3.010302,
"topology": "RC",
"phase_deg": -45.00001,
"filter_type": "lowpass",
"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.768Z",
"request_id": "49f0cc64-ca90-4467-944f-38d8675039c5"
},
"status": "ok",
"message": "RC/RL low-pass filter",
"success": true
}