R: Fix Dip Angle

FixDip {RFOC} | R Documentation

## Fix Dip Angle

### Description

Fix az, dip angles so they fall in correct quadrant.

### Usage

    FixDip(A)

### Arguments

List:

`A` | az azimuthm angle, degrees dip dip angle, degrees

### Details

Quadrants are determined by the sine and cosine of the dip angle: `co = cos(dip)` `si = sin(dip)` `quad[co>=0 & si>=0] = 1` `quad[co<0 & si>=0] = 2` `quad[co<0 & si<0] = 3` `quad[co>=0 & si<0] = 4`

### Value

List:

`az` | azimuthm angle, degrees
`dip` | dip angle, degrees

### Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

### See Also

RPMG::fmod

### Examples

    B = list(az=231, dip = -65)

    FixDip(B)

[Package RFOC version 3.4-3 Index]