This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Apply antenna factor and cable loss tospectrum analyzer measurements

Project Description

# applyaf

[![PyPi Version][pypi ver image]][pypi ver link] [![Build Status][travis image]][travis link] [![Coverage Status][coveralls image]][coveralls link] [![License Badge][license image]][LICENSE.txt]

[applyaf][] is a Python (2.6+/3.3+) module that applies frequency dependent antenna factors and cable losses to spectrum analyzer readings in order to calculate the incident field. Any duplicate frequency entries in the antenna factors or cable losses data are removed before interpolating the frequencies to match those of the spectrum analyzer readings.

## Inputs

Three csv files containing the following are required inputs:

  1. Spectrum analyzer measurements
  2. Antenna factor data
  3. Cable loss data

Each CSV file should contain data in two columns:

  1. Frequency
  2. Amplitude

The amplitude is expected to be in dB.

## Requirements

  • [numpy][]
  • csv module from the [Python Standard Library][]
  • os module from the [Python Standard Library][]

## Future Improvements

Some thoughts for future improvements include:

1. Allowing CSV data files that contain non-dB amplitudes and then convert as needed. Should this be a per-file setting? 2. Generalize the code to handle a variable number (>3) of data to be interpolated and applied to the given data set. 3. If the code is generalized, should this be wrapped into the [siganalysis][] project or left on its own?

## Contributing

[applyaf][] is developed using [Scott Chacon][]’s [GitHub Flow][]. To contribute, fork [applyaf][], create a feature branch, and then submit a pull request. [GitHub Flow][] is summarized as:

  • Anything in the master branch is deployable
  • To work on something new, create a descriptively named branch off of master (e.g., new-oauth2-scopes)
  • Commit to that branch locally and regularly push your work to the same named branch on the server
  • When you need feedback or help, or you think the brnach is ready for merging, open a [pull request][].
  • After someone else has reviewed and signed off on the feature, you can merge it into master.
  • Once it is merged and pushed to master, you can and should deploy immediately.

# License

[applyaf] is released under the MIT license. Please see the [LICENSE.txt] file for more information.

[applyaf]: https://github.com/questrail/applyaf [coveralls image]: http://img.shields.io/coveralls/questrail/applyaf/master.svg [coveralls link]: https://coveralls.io/r/questrail/applyaf [github flow]: http://scottchacon.com/2011/08/31/github-flow.html [LICENSE.txt]: https://github.com/questrail/applyaf/blob/develop/LICENSE.txt [license image]: http://img.shields.io/pypi/l/applyaf.svg [numpy]: http://www.numpy.org [pull request]: https://help.github.com/articles/using-pull-requests [pypi ver image]: http://img.shields.io/pypi/v/applyaf.svg [pypi ver link]: https://pypi.python.org/pypi/applyaf [python standard library]: https://docs.python.org/2/library/ [scott chacon]: http://scottchacon.com/about.html [siganalysis]: https://github.com/questrail/siganalysis [travis image]: http://img.shields.io/travis/questrail/applyaf/master.svg [travis link]: https://travis-ci.org/questrail/applyaf

Release History

Release History

This version
History Node

0.4.0

History Node

0.3.0

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
applyaf-0.4.0.tar.gz (6.3 kB) Copy SHA256 Checksum SHA256 Source Mar 24, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting