Add calculate resolution function to ncs.py