function [new_oxy,Soc,Voffset,Boc,tcor,pcor]= oxy_fit_none( ...
	volt,OXSAT,temp,press,sta,bot_oxy, ...
		Soc,Voffset,Boc,tcor,pcor);
%OXY_FIT_NONE - oxygen coeffs from volt and botOx (no trend)

% $Revision: 1.6 $
% $Date: 2008/04/09 14:20:33 $
% $Id: oxy_fit_none.m,v 1.6 2008/04/09 14:20:33 duncombe Exp duncombe $

x=[volt OXSAT temp press];
beta(1,1)=Soc;
beta(1,2)=Voffset;
beta(1,3)=Boc;
beta(1,4)=tcor;
beta(1,5)=pcor;
beta0=non_lin_fit(x,bot_oxy,'oxygen_fit_none',beta);
Soc=beta0(1);
Voffset=beta0(2);
Boc=beta0(3);
tcor=beta0(4);
pcor=beta0(5);

new_oxy=((Soc.*(volt+Voffset))+ ...
	Boc.*exp(-0.03.*temp)).*exp(tcor.*temp).*OXSAT.*exp(pcor.*press);

return;

