Source Code


The following is simply the source code for all of the functions written. Depending on your level of nerdiness, you may actually find this interesting...

The Important Functions:

PSFip: Calculates pointspread when given angle from center.
LSFip: Same deal, but with linespread
MTFip: Calculates the modulation transfer function from c/deg
Source code for the nifty demo
for comparing MTFs

The Lesser Functions:
B1calc
B2calc
B3calc

C1calc
C2calc
C3calc
C4calc

Mbcalc
funBi
lbi

clong
cshort

bcalc
ecalc

agefact
pigment

rad2deg
deg2rad

PSFsimp