Metadata-Version: 2.1
Name: seglines
Version: 0.0.3
Summary: Segmented Least Squares
Home-page: https://github.com/pgdr/cristin
Author: PG Drange
Author-email: Pal.Drange@uib.no
Maintainer: PG Drange <Pal.Drange@uib.no>
License: MIT
Project-URL: Bug Tracker, https://github.com/pgdr/cristin/issues
Project-URL: Documentation, https://github.com/pgdr/cristin/blob/master/README.md
Project-URL: Source Code, https://github.com/pgdr/cristin
Keywords: seglines
Description-Content-Type: text/markdown

# seglines

**What:**

Compute segmented least squares for a dataset.  Probably assumes that `X = 1...N` or something.

**Install:**

`pip install seglines`

**Usage:**

`seglines --help`

`seglines l data.csv`



To generate data first:

`seglines --generate 5 10 > data.csv`

and then

`seglines 5 data.csv`

This outputs the segments, and also writes a file `data.csv` for your convenience.

To create a plot of the dataset, add `--plot`:


`seglines 5 data.csv --plot`
