Giter VIP home page Giter VIP logo

spatial_density's Introduction

spatial_density

This perl script calculates a spatial density grid (ASCII format) based on a gaussian kernel function using a SAMSE bandwith calculated using the 'ks' package which is part of the statistical programming language R.

This program requires a configuration file usually specified as spatial_density.conf The filename is specified on the command line. To run the script type: perl spatial_density.pl spatial_density.conf

The script depends on a number of perl modules: PDL :: Lite PDL::Basic PDL::MatrixOps PDL::LinearAlgebra

These modules can all be downloaded and installed using the perl installation program, cpan

For this script, The PDL::LinearAlgebra depends on the blas and lapack libraries and their corresponding devel packages. Please install these first. Then install the R-base and R-devel packages. If using opensuse these can be installed using YAST. It is also convenient to install perl-PDL with YAST. Then only the PDL::LinearAlgebra module need be installed with cpan.

The R package 'ks' is required. This is usually installed from within R (as root) using: install.packages()

Then just select a download site and the the 'ks' package. It will be downloaded, compiled, and installed. Additional dependencies may be required for this package depending on your linux distribution. Please watch the commandline output for clues and install as necessary.

TROUBLESHOOTING If there is no output data then check the file: R-samse.Rout The R-samse file is an R script and the R-samse.Rout provides information about the SAMSE bandwith calculated using 'R'.

spatial_density's People

Contributors

ljc-geo 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.