joshspeagle / brutus

Modeling stellar photometry with "brute force" methods
MIT License
32 stars 5 forks source link

Fitting polarization measurements (positive OR negative jumps) #34

Closed catherinezucker closed 4 years ago

catherinezucker commented 4 years ago

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.