R/Preflect.R

Defines functions `Preflect`

`Preflect` <-
function(az, dip )
{
    #  /* Reflect to lower hemisphere */
    if (dip < 0.0)
      {
	az = RPMG::fmod(az + 180., 360.);
	dip = -dip;
    }
    return(list(az=az, dip=dip));
}

Try the RFOC package in your browser

Any scripts or data that you put into this service are public.

RFOC documentation built on Sept. 8, 2023, 6:12 p.m.