/v1/lowpass
RC/RL low-pass filter
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
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_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"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
}