Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rf-exposure-calculator

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rf-exposure-calculator - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

package.json
{
"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 {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc