grvs_from_gmingrp#
- pygaia.photometry.transformations.grvs_from_gmingrp(gminrp)#
Calculate \(G_\mathrm{RVS}\) from the input value(s) of \(G-G_\mathrm{RP}\). Use the formulae presented in Sartoretti et al. (2022).
- Parameters:
gminrp (ndarray, float) – Value(s) of \(G-G_\mathrm{RP}\) from which to calculate \(G_\mathrm{RVS}\). Must be in the range \(-0.15\leq G-G_\mathrm{RVS}\leq 1.7\)
- Returns:
gminrvs – The values of \(G_\mathrm{RVS}\). NANs are returned for \(G-G_\mathrm{RP}\) values outside the above quoted range.
- Return type:
ndarray, float