# 2.12.1 blauto

## Brief Information

Create baseline anchor points using specified threshold

## Command Line Usage

 blauto n:=5; // create baseline with 5 anchors 

Minimum Origin Version Required: 8.0 SR3

## Variables

Display Name
Variable Name
I/O
and
Type
Default
Value
Description
Input
iy
Input

XYRange

<active> Specify the input data for creating baseline.
Auto Threshold
thres
Input

double

0.05 Specify the threshold used to determine the baseline anchor point positions.
Anchor Number
number
Input/Output

int

8 Specify the number of baseline anchor points, with which you can modify the shape of the baseline.
Anchors' Coordinate
oy
Output

XYRange

<new> Specify the output range for the anchor point coordinates.

## Description

By finding and subtracting the baseline, we can make the peak finding on data easier and more accurate. This function automatically creates a baseline for spetrum data.

When Origin computes the baseline, the Auto Threshold variable is used to set the threshold of curvature of the baseline. And you can use the Anchors variable to set the number of the anchor points, which can be used to adjust the shape of the baseline.

## Algorithm

The X-Function scans the curve data for sections whose curvatures are less than the threshold (determined by the Auto Threshold variable). These sections are then used to compose the baseline.

## Related X-Functions

Keywords:spectrum