ICSM / ampere

A tool to fit the SED and spectra of dusty objects to constrain, among other things, the dust properties and mineralogy
6 stars 2 forks source link

cov_mask not working as it should in data.py #35

Closed ciskakemper closed 3 years ago

ciskakemper commented 3 years ago

Specifically in line 438, on branch ysosilfit, I had to remove cov_mask form that line to be able to read in the photometry. I was running pgQuasarSample.py from the examples directory.

pscicluna commented 3 years ago

I believe the updates in 3bc91c13ff35c10810b98d8fda63b1f790521d4c have fixed this, so I am closing this for now.

The gist of the updates is that the masks are applied only to the 1D variables, and the covariance matrix is recomputed when a new mask is created so that it has the correct shape.