This required a slight modification to how sorting is done in the prior transform function in los.py. I first sort the distances and then sort the reddenings based on their corresponding distances. Previously we sort the distances and then sort the reddenings independently from the distances. In the new way, the foreground reddening is treated independently and I'm only sorting the cloud reddenings.
This required a slight modification to how sorting is done in the prior transform function in los.py. I first sort the distances and then sort the reddenings based on their corresponding distances. Previously we sort the distances and then sort the reddenings independently from the distances. In the new way, the foreground reddening is treated independently and I'm only sorting the cloud reddenings.