I must express my profound appreciation for Wolfram and their groundbreaking software, Mathematica. It's been nothing short of foundational in my research journey. The intuitive syntax of the Wolfram language permitted an almost seamless translation of the tensor, spinor, and twistor formalisms, enabling me to move effortlessly from research papers straight to a computable notebook with new results.
The above notebook gives a concrete application of the NP/GHP formalisms which is easily generalized to an metric you would like to study.