NASA-Planetary-Science / sbpy

A Python package for small bodies research
https://sbpy.org/
Other
66 stars 34 forks source link

Allow measurement errors in `photometry.DiskIntegratedPhaseFunc.from_obs` method #353

Open jianyangli opened 2 years ago

jianyangli commented 2 years ago

This is a request for

The requested changes will be implemented by

High-level concept sbpy.photometry.DiskIntegratedPhaseFunc provides class method from_obs to fit observational data and retrieve a phase function model. The current implementation doesn't use measurement errors in the fit. This enhancement should allow the use of measurement errors if present in the input.

Explain the relevance to sbpy Enhancement to existing sbpy class method.

Proposal details Check the existence of measurement errors in the input, and pass to fitter if present.

Example (pseudo-)code