rf-exposure-calculator
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "rf-exposure-calculator", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "RF Exposure Calculator for HAM Radio", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -11,9 +11,9 @@ 👋 | RF Exposure Calculator | ||
10, // Power in Watts | ||
1, // [0-1]: Mode Duty Cycle | ||
1.0, // [0-1]: Mode Duty Cycle | ||
{ // TX Duty Cycle | ||
tx: 2, // Time spent transmitting | ||
rx: 3 // Time spent listening | ||
tx: 2, // Minutes spent transmitting | ||
rx: 3 // Minutes spent listening | ||
}, | ||
1.3, // Antenna gain in dBi | ||
7.200, // Operating frequency | ||
7.200, // Operating frequency in MHz | ||
true, // `true` for a controlled environment, `false` for uncontrolled | ||
@@ -20,0 +20,0 @@ true // Whether or not to include the effects of ground reflection |
@@ -16,3 +16,3 @@ export class RFExposureCalculator { | ||
const Eirp = Pwr * Math.pow(10, antennaGainInDbi / 10); // EIRP in milliwatts, adjusting for antenna gain | ||
const minDistance = (Math.sqrt((Gf * Eirp) / (maxDensity * Math.PI)) / 30.48); | ||
const minDistance = Math.sqrt((Gf * Eirp) / (maxDensity * Math.PI)) / 30.48; | ||
@@ -19,0 +19,0 @@ return { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5626