astrorama / SourceXtractorPlusPlus

SourceXtractor++, the next generation SExtractor
https://astrorama.github.io/SourceXtractorPlusPlus/
GNU Lesser General Public License v3.0
72 stars 9 forks source link

Custom onnx models #408

Closed marcschefer closed 2 years ago

marcschefer commented 3 years ago

Allows custom ONNX models to be used for rendering model for FlexibleModelFitting

Example:

add_model(group, OnnxModel(["exp25.onnx", "exp100.onnx", "exp200.onnx", "exp400.onnx"], x, y, flux[i], ratio, angle, {"i0": 1, "k": k}))