Utility Methods
breads.utils Module
Functions
|
Ask JB to write documentation! |
|
Broaden a spectrum to instrument resolution assuming a gaussian line spread function. |
|
Broaden a spectrum to instrument resolution assuming a custom kernel. |
|
|
Compute absolute ICRS coordinates of a substellar companion at a given date |
|
|
Shallow copy operation on arbitrary Python objects. |
|
|
|
Cross-correlate two 2-dimensional arrays. |
|
|
|
|
|
Find the closest elements in v1 to the left and right of each element in v2. |
|
|
|
Two Dimensional Gaussian for getting PSF for different wavelength slices |
|
Return the mode, and the left and right errors of a distribution. |
|
Compute a spline based linear model. |
|
Solve a linear least-squares problem with bounds on the variables. |
|
|
|
Compute the median absolute deviation of the data along the given axis. |
|
basic function to limit prior ranges for emcee |
|
Open psg model for all molecules returns wavelength, h2o, co2, ch4, co for l0-l1 range specified |
|
2d gaussian model. |
|
Get coordinates at an epoch for some target, taking into account proper motions. |
|
|
|
See also JWST tools.