Jimmy YeBoost python performance by not using loopsimport numpy as np h=np.array([0,1,2,3,4])Feb 4, 2022Feb 4, 2022
Jimmy YeMigrating a 32bit C program to be 64bit in LinuxThe main point is to be very careful on the memory pointers.Feb 4, 2022Feb 4, 2022
Jimmy YeUse conda as a tool to distribute and re-generate the virtual python environmentInstall miniconda: https://docs.conda.io/en/latest/miniconda.htmlFeb 4, 2022Feb 4, 2022
Jimmy YeGenerate a colorbar that is a portion of HSV mapThe HSV mapping is as below:Feb 4, 2022Feb 4, 2022
Jimmy YeDealing with 16-bit PNG fileI recently have to generate 16-bit RGB PNG files, so I spent some time investigating what libraries I could use.Feb 4, 2022Feb 4, 2022
Jimmy YeKalman filter and the simple averaginghttps://math.stackexchange.com/questions/173901/why-use-a-kalman-filter-instead-of-keeping-a-running-averageAug 4, 2021Aug 4, 2021