pygaia/errors/photometric.py
def rpMagnitudeErrorEoM(G, vmini, nobs=70):
  """
  Calculate the end-of-mission photometric standard error in the RP band as a function of G and (V-I).
  Note: this refers to the integrated flux from the RP spectrophotometer. A margin of 20% is included.

  Parameters
  ----------

  G     - Value(s) of G-band magnitude.
  vmini - Value(s) of (V-I) colour.

  Keywords
  --------

  nobs  - Number of observations collected (default 70).

  Returns
  -------

  The RP band photometric standard error in units of magnitude.
  """
  return sqrt( (power(rpMagnitudeError(G, vmini)/_scienceMargin,2) +
      _eomCalibrationFloorRP*_eomCalibrationFloorRP)/nobs ) * _scienceMargin
def rpMagnitudeErrorEoM(G, vmini, nobs=70):
  """
  Calculate the end-of-mission photometric standard error in the RP band as a function of G and (V-I).
  Note: this refers to the integrated flux from the RP spectrophotometer. A margin of 20% is included.

  Parameters
  ----------

  G     - Value(s) of G-band magnitude.
  vmini - Value(s) of (V-I) colour.

  Keywords
  --------

  nobs  - Number of observations collected (default 70).

  Returns
  -------

  The RP band photometric standard error in units of magnitude.
  """
  return sqrt( (power(rpMagnitudeError(G, vmini)/_scienceMargin,2) +
      _eomCalibrationFloorRP*_eomCalibrationFloorRP)/nobs ) * _scienceMargin
Calculate the end-of-mission photometric standard error in the RP band as a function of G and (V-I).
  Note: this refers to the integrated flux from the RP spectrophotometer. A margin of 20% is included.

  Parameters
  ----------

  G     - Value(s) of G-band magnitude.
  vmini - Value(s) of (V-I) colour.

  Keywords
  --------

  nobs  - Number of observations collected (default 70).

  Returns
  -------

  The RP band photometric standard error in units of magnitude.