In [1]:
#out = PH_FIRE_VOLTAGE_OFFSET + 1023*out*aCalibration/(1000 * PH_FIRE_VOLTAGE_AMPLITUDE);
PH_FIRE_VOLTAGE_OFFSET = 65.0
PH_FIRE_VOLTAGE_AMPLITUDE = 2935.0
Calibrated_PH_Voltage = 1607.0
amp_xls = 1050.0
dac_value = PH_FIRE_VOLTAGE_OFFSET + 1023.0*amp_xls*Calibrated_PH_Voltage/(1000.0 * PH_FIRE_VOLTAGE_AMPLITUDE);
print("DAC_Value = {} AMP_XLS = {}".format(dac_value, amp_xls))
Rip speed calc
In [2]:
def pages_per_min(time, pages):
pages_sec = pages/time
pages_min = pages_sec*60.0
print("pages per min = {}".format(pages_min))
In [3]:
pages = 1.0
time = 2.0
pages_per_min(time, pages)
time = 8.0
pages_per_min(time, pages)
In [4]:
pages = 1.0
time = 16.0
pages_per_min(time, pages)
time = 7.0
pages_per_min(time, pages)
In [5]:
pages = 3.0
time = 10.0
pages_per_min(time, pages)
time = 6.0
pages_per_min(time, pages)
In [6]:
pages = 3.0
time = 43.0
pages_per_min(time, pages)
time = 8.0
pages_per_min(time, pages)
In [7]:
pages = 4.0
time = 6.0
pages_per_min(time, pages)
time = 13.0
pages_per_min(time, pages)
In [8]:
pages = 4.0
time = 52.0
pages_per_min(time, pages)
time = 11.0
pages_per_min(time, pages)
In [9]:
pages = 25.0
time = 20.0
pages_per_min(time, pages)
time = 98.0
pages_per_min(time, pages)
In [10]:
pages = 25.0
time = 80.0
pages_per_min(time, pages)
time = 166.0
pages_per_min(time, pages)
In [11]:
pages = 100.0
time = 342.0
pages_per_min(time, pages)
In [12]:
pages = 100.0
time = 750.0
pages_per_min(time, pages)
In [13]:
pages = 100.0
time = 733.0
pages_per_min(time, pages)
In [14]:
pages = 100.0
time = 36*60+10.0
pages_per_min(time, pages)
time = (10+12)*60.0+52
pages_per_min(time, pages)
In [15]:
pages = 100.0
time = 6*60.0+24
pages_per_min(time, pages)
time = (11+6)*60.0+40+50
pages_per_min(time, pages)
In [16]:
import numpy as np
np.linspace(100, 84, num=8)
np.linspace(100,95.4, num=4)
Out[16]:
In [ ]: