knife_edge_propagation
v1.0.3
Published
Basic Knife Edge Propagation Engine based on http://www.mike-willis.com/Tutorial/PF7.htm
Downloads
1
Maintainers
Readme
knife_edge_propagation
Basic Knife Edge Propagation Engine based on http://www.mike-willis.com/Tutorial/PF7.htm
Installation
npm install knife_edge_propagation
Usage
var knife_edge = require('knife_edge_propagation'),
knife_edge_compute_v = knife_edge.knife_edge_compute_v,
knife_edge_compute_pathloss = knife_edge.knife_edge_compute_pathloss,
knife_edge_compute_pathloss_lee = knife_edge.knife_edge_compute_pathloss_lee,
knife_edge_compute_h = knife_edge.knife_edge_compute_h;
var d1 = 15;
var d2 = 25;
var h = 5;
var r = 0.002;
var v = knife_edge_compute_v(d1, d2, h, r);
var p1 = knife_edge_compute_pathloss(v);
var p2 = knife_edge_compute_pathloss_lee(v);
console.log(v);
console.log(p1);
console.log(p2);
console.log(knife_edge_compute_h(10, 100, 5, 60, 7));
Output:
51.63977794943222
47.16508524476248
47.21603696049556
54.81818181818182
Tests
npm test
Online Tool
You may also like this tool: Free Space Path Loss Calculator with API.
Contributing
- Fork it!
- Create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request :D