_scripts parcel discretise

Usage

Run using mc_script _scripts parcel discretise after installation or using ~ndcn0236/bin/mc_script _scripts parcel discretise on jalapeno.

Import in python using from mcot.core._scripts.parcel import discretise

Documentation

Discretizes a continuous variable

Functions

run_array(arr, nbins[, bins, weight, …]) Returns a discretised version of the input array

CLI interface

add_to_parser(parser) Creates the parser of the command line arguments
run_from_args(args) Runs the script based on a Namespace containing the command line arguments