Implement arducam lens shading fix in for pi in jetson nano

I am trying to fix the lens shading issue for my pi v2 camera on a jetson nano. I saw an arducam link that uses native raspberry pi commands to fix the problem. Is their any way this can be converted to work on the jetson nano?
link:Lens Shading Calibration - Arducam