GalSim-developers / GalSim

The modular galaxy image simulation toolkit. Documentation:
http://galsim-developers.github.io/GalSim/
Other
224 stars 105 forks source link

Add Eval type for gsobjects in config #1250

Closed rmjarvis closed 11 months ago

rmjarvis commented 11 months ago

I suggested to @beckermr that he use an Eval type for a GSObject for something, where that would be particularly convenient. Turns out we don't have one of those. This is an oversight on my part, since several other things do, leveraging the code for Evals of value types. This PR remedies this oversight, so now you can use Eval as an object type to evaluate arbitrary strings as GSObjects.

beckermr commented 11 months ago

Thank you!