The majority of the conerganceFilter() method in the simulation class within simulateRetrieval.py is code to recalculate χ^2 which is not specific to retrieval simulations and should be moved to the GSFC-GRASP-Python-Interface repository. The method should probably be kept for the purposes of purging rsltBck and rsltFwd of none converging cases, but mostly it would just be a wrapper for the accompanying χ^2 calculation with the (probably) graspDB class.
Also, we should fix the name to correct the spelling of "convergence".
The majority of the
conerganceFilter()method in thesimulationclass withinsimulateRetrieval.pyis code to recalculate χ^2 which is not specific to retrieval simulations and should be moved to theGSFC-GRASP-Python-Interfacerepository. The method should probably be kept for the purposes of purgingrsltBckandrsltFwdof none converging cases, but mostly it would just be a wrapper for the accompanying χ^2 calculation with the (probably)graspDBclass.Also, we should fix the name to correct the spelling of "convergence".