Tools
To mitigate NFT permanence issues, NFTs can be pinned to IPFS using services such as Blockfrost. I made some functions that help create, pin, and unpin objects to IPFS via blockfrost. For example:
Some python wrapper functions around the cardano-cli
to check e.g. wallet UTxOs:
or communicate with blockchain to get current transaction details:
Simple functions to quickly inspect the an atomic design.
A set of tools to interface with the laser patterning system using python. These are contributed to the open-source project pymeasure
.
A set of tools to interface with the vacuum pumps using python. These are contributed to the open-source project pymeasure
.
The flip mirror was a crucial component to switch between reading and patterning LIG. The API for the flip mirror was not well documented and improvements were needed. Tool snippets using ftd2xx
solved the issue:
Medical data are still often recorded by hand, which causes inaccurate reporting. A colleague from the local hospital presented to me a problem with extracting hand-written texts from irregular tables.This program aims to structure the extract texts from images that are typically jumbled when using Google OCR. In particular, we deal with texts from irregular table forms and store these electronically in a dataframe.
Although Google OCR output is often unstructured, we do get access to information about the entities and their positions in a JSON output file. I solved the problem by postprocess the data so that extracting whole lines of text or phrases using tokens.
Once the tokens are extracted, we store them in a dataframe and clean the data according to our specifications. Note, the data clean-up here is strictly case-by-case and works relatively well for our problem.
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | |
0 | hursday | 12/12/2019 12/12/2019 | | Legend | Fully Booked | Admitted | Late Admission | Not Admitted | ✓ | Completed | In Progress |
1 | Last update:11/12/2019 14:22 | User update: | MOHD ISYRAFUDDN BIN ISMAL | Task: | Changed Turn Number | Track Record(4) | None | None | None | None |
2 | MRN | Patient Information | Start | Procedure(s) | Duration | Surgeon(s) | Comments/Diagnosis | None | None | None |
3 | N342133 | 0900 | 1)-PERIODONTAL - REPOSITIONED FLAP (KOS | 0230 | DIAGNOSIS: | None | None | None | None | None |
4 | (4K) PEDIATRCS 3 | MALE.MELAYU | RAWATAN DI BAWAH GENERAL ANAESTHESIA - | Q37.0: Cleft hard palate with bilateral cleft lip | None | None | None | None | None | None |
5 | OT: GOTS | MINOR). | Booked By: | None | None | None | None | None | None | None |
Last updated