Code Monkey home page Code Monkey logo

coaxcalculator's Introduction

Coax Calculator

Open source coaxial cable loss calculator.

Calculates total loss for various feedlines, based on frequency, length and input power.

How does it work?

The most important part of the calculator is cables file. It contains attenuation data specified by cable manufacturer for various frequencies, extracted from the datasheet:

h155-belden:
  name: H155 (Belden)
  manufacturer: Belden
  type: H155
  attenuation: { 5: 2.5, 50: 6.9, 100: 9.1, 230: 13.4, 400: 18.0, 800: 26.1, 862: 27.3, 1000: 29.6, 1350: 34.9, 1750: 40.3, 2150: 46.0, 2400: 49.1, 3000: 56.3, 4200: 69.1, 5800: 75.1, 5400: 80.8, 6000: 86.5 }
  data_source: https://www.tme.eu/Document/18ee3e29381bee0e348180bedff1050b/H155BK_EN.PDF
  additional_info:
    ext_diameter_mm: 5.4
    velocity_factor: 0.8
    impedance: 50

Since the attenuation is specified for a given frequency values, usually different for every manufacturer, a simple linear interpolation is performed to obtain attenuation values for a frequency of interest.

How to contribute?

If your favourite cable is not on the list, please add it to cables.yaml, including all the fields as in the example above and open a pull request.

coaxcalculator's People

Contributors

olgierd avatar canislupus11 avatar quamilek avatar sq9nje avatar rbidas avatar sabistik avatar sp9rqa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.