Package Exports
- hata_model
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 (hata_model) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
hata_model
Hata Propagation Model as described in https://en.wikipedia.org/wiki/Hata_model
Installation
npm install hata_modelUsage
var hata = require('hata_model').hata;
hata.Antenna(0, 0, 30);
hata.SetFrequency(800);
hata.SetCitySize(1);
hata.SetCityType(2);
console.log(hata.GetPathLoss(0, 50, 1));Output:
160.04304435069645Tests
npm testOnline 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
Author
- Released under the MIT License.
- Authored and maintained by @justyy with help from contributors (list).
- Email: dr.zhihua.lai@gmail.com
- Github: github.com/doctorlai
- Twitter: doctorzlai
- Blog: helloacm
- Blog: codingforspeed
- Blog: justyy
- Others: weibomiaopai
- Others: rot47
- Others: uploadbeta
- Others: isvbscriptdead
- Others: happyukgo
- Others: propagationtools
- Others: steakovercooked