tcollett / LensPop

23 stars 16 forks source link

A parameter missing in Sersic definition #6

Open jiwoncpark opened 6 years ago

jiwoncpark commented 6 years ago

When the setLensPars method of FastLensSim attempts to define a Sersic object, as in this line, it passes in all the required parameters except amp (or logamp). This causes the Sersic initialization to abort due to this line. What value of amp (or logamp) should be passed?

For context, this error occurs in this line of the example script ModelAll.py.

jiwoncpark commented 6 years ago

I'm setting amp = 1.0 in imageSim/SBmodels.py as was done in imageSim/SBModels.py.