Giter VIP home page Giter VIP logo

helmhurts's Introduction

helmhurts

This code can be used to produce figures of wireless propagation effects in indoor scenarios, especially using the Helmholtz equation to model the amplitude field of wireless propagation. Additionally, simple path loss and shadowing can be applied to PNG images showing a simplified black-and-white floorplan.

The code can be extended to support different materials to see even more interesting effects, for example by interpreting different grayscale values as different materials. However, the ability to make accurate predictions on actual wireless behavior should be assumed to be non-existent for any practical purpose.

This code is inspired by the blog entry of Jason Cole that explains the idea and basically solves everything already.

I initially started by using code from Frédéric Testard (fredo-dedup, code preview using nbviewer).

The code iterates naively over each and every pixel of a floorplan to count wall pixels for shadowing or inverts a giant matrix, so try to use a PNG floorplan with less pixels if you run into problems.

How to Use

Install Julia runtime

From http://julialang.org/ or from repository. The currently targeted Julia version is 1.0, expect some issues due to Julia API changes. They really like to do that.

Install dependencies

$ julia -e 'Pkg.add("Colors")'
$ julia -e 'Pkg.add("Images")'

Create output folder figs in the root directory and start the program

$ mkdir figs
$ julia src/helmhurts.jl

Be aware that this operation needs a lot of RAM. For the demo example about 10 GB due to the resolution of the provided image.

Example Outputs

Some example figures produced by the current implementation.

Path Loss

Path loss

Shadowing

Shadowing

Helmhurts

Helmhurts

helmhurts's People

Contributors

mmv-ru avatar mwil avatar

Watchers

 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.