%study data from Barnett 2008a
%single oral dose of malathion (150 mg/kg) to male and female PND11 rats
%Brain and RBC ChE measurements taken from 0.5 to 2.5 hr postdose

%mean male BW 0.0216 kg; mean female BW 0.0212 kg

prepare @clear @all

rat_parameters_postnatal 	       % rat parameters
TSTOP=20;      			       % Simulation duration
BW0=0.0238; %0.0216;   	 			% kg
AGE0=11.0; 
ORALMAL=150000          %ug/kg


prepare @clear @all

%load @format=ascii @separator=comma @ignoreheader @file=Barnett_2008a_PND11_single_dose.csv Barnett_2008a
%tdata=Barnett_2008a

load @format=ascii @separator=comma @ignoreheader @file=Barnett_2008a_PND11_single_dose.csv Barnett_2008a
tdata=Barnett_2008a

start@nocallback


plot(_time, _bce, "-", tdata(:,1), tdata(:,2), tdata(:,1), tdata(:,4), "*", 'Barnett_2008a_brain.aps')
plot(_time, _rbcce, "-", tdata(:,1), tdata(:,3), tdata(:,1), tdata(:,5),"*", 'Barnett_2008a_RBC.aps')


