Andrew Moa Blog Site

PyCFF - a Python-based curve fitting tool

Lately, I’ve frequently encountered situations in my work where I need to fit function curves to scattered data. Typical examples include fitting porous media parameters using the pressure drop of a heat exchanger and fitting polynomial density to a fluid medium. While these tasks can be performed using Excel, Origin, and other tools, they are cumbersome and support limited function types. Here, I’ve developed a simple toolkit in Python that implements function fitting using numpy and scipy. The user interface is written in PySide, allowing for the entire process from input data to output fitting function parameters. The tool also supports data prediction and custom functions.
7 minutes to read
Andrew Moa

Tabby configuration MSYS2

Tabby is a very good-looking terminal tool. I first used it to replace the local terminal, and then I found more and more advantages. First of all, it has built-in support for SSH connection and SFTP file transfer. The setting operation is simple, avoiding the tedious settings in the Windows terminal. Secondly, it can be used to replace the original Mintty interface of MSYS2 and Cygwin to achieve seamless switching between different terminals. Regarding how to call MSYS2 in the Tabby terminal, the following is a record of the configuration method:
2 minutes to read
Andrew Moa