serval icon indicating copy to clipboard operation
serval copied to clipboard

calculate radial velocities from stellar spectra

Results 14 serval issues
Sort by recently updated
recently updated
newest added

Remove indexing `ind` of valid pixels in counting of pixels per template knot. The valid pixels are selected by the `bmod==0` condition already. For the counting of all possible pixels...

feature: add function to turn binary map into tapering weights

A new astropy warning (only python2) ``` WARNING: ErfaWarning: ERFA function "dtf2d" yielded 1 of "dubious year (Note 6)" [astropy._erfa.core] ``` https://github.com/nu-radio/NuRadioReco/issues/99 https://github.com/astropy/astropy/issues/5809 https://github.com/astropy/astropy/issues/9603 Arising in https://github.com/mzechmeister/serval/blob/f26706f77b2505a94029c8bad3f994b9aed03392/src/brv_we14py.py#L75 Minimal script to...

This can occur with MaroonX hdf spectra: ``` IOError: Unable to create file (unable to open file: name = '...', errno = 17, error message = 'File exists', flags =...

bug

The option should accept an RV file. Currently, there are already the `-vtfix` and `-skippre` options. Actually, it is also related to the `-targrv` option. With is option one could,...

enhancement

This can happen, if only few data points are available. Low SNR data should not be normalised with a cubic polynomial.

There should be a [rank warning](https://docs.scipy.org/doc/numpy/reference/generated/numpy.RankWarning.html#numpy.RankWarning) if the number of data points is smaller than the number of parameters or if the matrix is poorly conditioned, similar as in [numpy.polyfit](https://docs.scipy.org/doc/numpy/reference/generated/numpy.polyfit.html).

enhancement

Instead of a binary mask, a telluric absoption spectrum can be used to for mild a priori correction and better weightening. Model spectra for CARM VIS are now available.

enhancement