Code Monkey home page Code Monkey logo

ospats-plus's Introduction

Julia package for optimal spatial stratification

The package ospats+ contains 4 Julia script files:

1) “main”: the script for setting process parameters and calling the function ospats() or function ospall()

2) “readdata”: the script for reading the input file with grid data.

3) “ospats”: containing only the function ospats().

4) “ospall”: containing only the function ospall(). This function should be used if coarse-gridding is necessary, i.e. if the grid has too many points to enable processing of the pairwise distance matrix.

The functions ospats() and ospall() both lead to a stratification by the Ospats method. The difference is that opspats() applies the method to the entire grid, while ospall() applies the method to a systematic sample from the grid, followed by allocation of the remaining grid points to the strata as constructed from the sample.

The requested function is called by setting the parameter "in" (from sampling INterval) in the main script. If in=1 then ospats() is called, if “in” is set to a value larger than 1, then ospall() is called. For instance, if in=3, then every third grid point gets included in the sample.

For further explanation see the user manual at https://github.com//jjdegruijter/ospats+/Manual.

ospats-plus's People

Contributors

jjdegruijter 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.