Main Page | Data Structures | File List | Data Fields | Globals

noisedetect.h File Reference

header file for noisedetect.c, contains functions to find multi-lane noise More...

#include "allheaders.h"
#include "gelinfo.h"
#include "anacutoff.h"

Go to the source code of this file.

Functions

float averageLaneSpacing (float **PeakPosition, struct GelInfo *GelInfo)
 calculate average lane spacing over gel given a set of peak positions
void detectNoise (PIX *pixIn, float **PeakPosition, float *NodePosition, struct GelInfo *GelInfo, struct AnaCutoff *AnaCutoff, int *noisePresent, int Verbose)
 count the number of lanes with noise galaxy present
int countMaxConsec (int *noise, int nlanes, float cutoff)
 counts the maximum span of values over a cutoff


Detailed Description

header file for noisedetect.c, contains functions to find multi-lane noise


Function Documentation

float averageLaneSpacing float **  PeakPosition,
struct GelInfo GelInfo
 

calculate average lane spacing over gel given a set of peak positions

Parameters:
PeakPosition holds y position for all nodes
GelInfo holds various gel parameters

int countMaxConsec int *  noise,
int  nlanes,
float  cutoff
 

counts the maximum span of values over a cutoff

Parameters:
noise array of values
nlanes size of array
cutoff cutoff to use
Returns:
the maximum number of consecutive values over the cutoff

void detectNoise PIX *  pixIn,
float **  PeakPosition,
float *  NodePosition,
struct GelInfo GelInfo,
struct AnaCutoff AnaCutoff,
int *  noisePresent,
int  Verbose
 

count the number of lanes with noise galaxy present

Parameters:
pixIn pix of the gel on which noise is to be detected
PeakPosition holds y position of all nodes
NodePosition holds x position of nodes in each zone
GelInfo holds various gel parameters
AnaCutoff holds various analysis cutoff
noisePresent array to store amount of noisy pixels is found in the center of each lane
Verbose turn on text output to screen


Generated on Fri Apr 20 16:43:07 2007 for LaneRuler by  doxygen 1.3.9.1