Open fl4p opened 1 month ago
p2t predict -l en --resized-shape 2048 --file-type pdf -i datasheets/epc/EPC2306.pdf -o epc2306.md \
--save-debug-res output-debug-p2t
p2t = Pix2Text.from_config()
doc = p2t.recognize_pdf('../datasheets/EPC/EPC2306.pdf', page_numbers=[1], resized_shape=2048)
table = doc.pages[0].elements[9]
print(table.meta['html'][0])
PARAMETER | TEST CONDITIONS | MIN | TYP | MAX | UNIT | |
---|---|---|---|---|---|---|
CIss | Input Capacitance | Vos=50V,Vcs=0V | 1777 | 2369 | pF | |
Cass | Reverse Transfer Capacitance | 5.8 | ||||
Coss | Output Capacitance | 616 | 803 | |||
CoSSER | Effective Output Capacitance, Energy Related (Note 1) | Vos=0to 50V,VGs=0V | 730 | |||
CossTR | Effective Output Capacitance, Time Related (Note 2) | 882 | ||||
Re | Gate Resistance | 0.4 | Q | |||
QG | Total Gate Charge | Vps=50V,Vcs=5V,lb=25A | 12.3 | 16.2 | nC | |
QGs | Gate to Source Charge | Vps=50V,lp=25 A | 4.3 | |||
QG | Gate-to-Drain Charge | 1.1 | ||||
QGirn) | Gate Charge at Threshold | 3.1 | ||||
Qoss | Output Charge | Vps=50V,Vcs=0V | 44 | 57 | ||
QRR | Source-Drain Recovery Charge | 0 |
Parameter | symbol | Values | Unte | Note I Test Condition | Min. | Typ. | Max. |
---|---|---|---|---|---|---|
Drain-source breakdown voltage | V(BR)DSS | 100 | - | - | V | Ves=0V, Io=1 mA |
Gate threshold voltage | Vesth | 2.2 | 3.0 | 3.8 | V | Vos=Ves, /D=72 uA |
Zero gate voltage drain current | ls | : | 0.1 10 | 1 100 | uA | Vos=100V, Ves=0 V, T=25°0 Vps=100 V, Ves=0 V, Tj=125°0 |
Gate-source leakage current | less | - | 10 | 100 | nA | Ves=20 V,Vos=0\V |
Drain-source on-state resistance | Rosom | : | 4.3 5.3 | 5.0 7.1 | m2 | Ves=10 V,D=50A Ves=6V,D=25 A |
Gate resistance) | Re | - | 1.2 | 1.8 | Q | - |
Transconductance | Ofs | 50 | 100 | - | S | |Vos|>2|/p|Ros(on)max,|b=50 A |
table2matrix
Datasheets contain merged cells if a unit or condition applies to multiple rows. headers might also be merged. when iterating the data row wise, we need to first resolve the merged cells and copy the value across all rows within the span.
resolve row-span and col-span
[['A', 'A', 'A', 'B', 'C', 'D'], ['A', 'A', 'A', 'E', 'E', 'E'], ['A', 'A', 'A', 'E', 'C', 'C'], ['E', 'C', 'C', 'C', 'C', 'C']]