/**
 **
 ** NoiseParameters.java - Sensor noise model parameters for tile weighting
 **
 ** Copyright (C) 2021 Elphel, Inc.
 **
 ** -----------------------------------------------------------------------------**
 **
 **  NoiseParameters.java is free software: you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License as published by
 **  the Free Software Foundation, either version 3 of the License, or
 **  (at your option) any later version.
 **
 **  This program is distributed in the hope that it will be useful,
 **  but WITHOUT ANY WARRANTY; without even the implied warranty of
 **  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 **  GNU General Public License for more details.
 **
 **  You should have received a copy of the GNU General Public License
 **  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ** -----------------------------------------------------------------------------**
 **
 */
package com.elphel.imagej.tileprocessor;

import com.elphel.imagej.cameras.InterNoiseParameters;

public class NoiseParameters {
	public double scale_random =   0.1;
	public double scale_fpn    =   0.0;
	public double sigma        =   1.5;
	public double initial_offset = 1.0;
	public int    used_sensors =   16; // 2/4/8/16
	
	public NoiseParameters (
			double scale_random,
			double scale_fpn,
			double sigma,
			double initial_offset,
			int used_sensors) {
		this.scale_random = scale_random;
		this.scale_fpn = scale_fpn;
		this.sigma = sigma;
		this.initial_offset= initial_offset;
		this.used_sensors = used_sensors;
	}
	@Override
	public NoiseParameters clone() throws CloneNotSupportedException {
		return  new NoiseParameters(
				scale_random,
				scale_fpn,
				sigma,
				initial_offset,
				used_sensors);
	}	
	
}
