pygaia/errors/photometric.py
def bpMagnitudeError(G, vmini):
  """
  Calculate the single-field-of-view-transit photometric standard error in the BP band as a function
  of G and (V-I). Note: this refers to the integrated flux from the BP spectrophotometer. A margin of 20%
  is included.

  Parameters
  ----------

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

  Returns
  -------

  The BP band photometric standard error in units of magnitude.
  """
  z=calcZBpRp(G)
  a	=	-0.000562*power(vmini,3) + 0.044390*vmini*vmini + 0.355123*vmini + 1.043270
  b	=	-0.000400*power(vmini,3) + 0.018878*vmini*vmini + 0.195768*vmini + 1.465592
  c	=	+0.000262*power(vmini,3) + 0.060769*vmini*vmini - 0.205807*vmini - 1.866968
  return 1.0e-3*sqrt(power(10.0,a)*z*z+power(10.0,b)*z+power(10.0,c))
def bpMagnitudeError(G, vmini):
  """
  Calculate the single-field-of-view-transit photometric standard error in the BP band as a function
  of G and (V-I). Note: this refers to the integrated flux from the BP spectrophotometer. A margin of 20%
  is included.

  Parameters
  ----------

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

  Returns
  -------

  The BP band photometric standard error in units of magnitude.
  """
  z=calcZBpRp(G)
  a	=	-0.000562*power(vmini,3) + 0.044390*vmini*vmini + 0.355123*vmini + 1.043270
  b	=	-0.000400*power(vmini,3) + 0.018878*vmini*vmini + 0.195768*vmini + 1.465592
  c	=	+0.000262*power(vmini,3) + 0.060769*vmini*vmini - 0.205807*vmini - 1.866968
  return 1.0e-3*sqrt(power(10.0,a)*z*z+power(10.0,b)*z+power(10.0,c))
def bpMagnitudeError ( G , vmini ) : z = calcZBpRp ( G ) a = - 0.000562 * power ( vmini , 3 ) + 0.044390 * vmini * vmini + 0.355123 * vmini + 1.043270 b = - 0.000400 * power ( vmini , 3 ) + 0.018878 * vmini * vmini + 0.195768 * vmini + 1.465592 c = + 0.000262 * power ( vmini , 3 ) + 0.060769 * vmini * vmini - 0.205807 * vmini - 1.866968 return 1.0e-3 * sqrt ( power ( 10.0 , a ) * z * z + power ( 10.0 , b ) * z + power ( 10.0 , c ) )
Calculate the single-field-of-view-transit photometric standard error in the BP band as a function
  of G and (V-I). Note: this refers to the integrated flux from the BP spectrophotometer. A margin of 20%
  is included.

  Parameters
  ----------

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

  Returns
  -------

  The BP band photometric standard error in units of magnitude.
Calculate the single - field - of - view - transit photometric standard error in the BP band as a function of G and ( V - I ) . Note : this refers to the integrated flux from the BP spectrophotometer . A margin of 20% is included .