JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q35247F
  • License MIT

Calculate Free Space Propagation Path Loss

Package Exports

  • wireless_pathloss

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (wireless_pathloss) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

wireless_pathloss

NPM Library: wireless_pathloss provides methods to compute Path Loss in Free Space.

Installation

npm install wireless_pathloss

Usage

var wireless = require('wireless_pathloss');
wireless.wireless.Antenna(0, 0, 300);
wireless.wireless.SetFrequency(947);
console.log(wireless.wireless.GetPathLoss(0, 0, 0));
console.log(wireless.freespace(2400, 300));
console.log(wireless.freespace_k1k2k3(30, 2, 0, 100));

Output:

81.51942467445872
89.59664992862537
34

Tests

npm test

Online Tool

You may also like this tool: Free Space Path Loss Calculator with API.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D