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

node.c File Reference

implements functions for extrapolating nodes to the edge, adjusting the boundary nodes, and writing lanes information to file More...

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "node.h"

Functions

void extrapolateNodes (float **PeakPosition, float *NodePosition, struct GelInfo *GelInfo)
 linear extrapolate out to get the peak positions at the edges (0th and last node)
void adjustBoundaryNodes (float **PeakPosition, float *NodePosition, struct GelInfo *GelInfo)
 move first node to stopPreData and extrapolate out to get peak positions at the edges
void writeLanes (float **PeakPosition, char *lanespath, float *NodePosition, struct GelInfo *GelInfo)
 write node and peak positions to lanes file


Detailed Description

implements functions for extrapolating nodes to the edge, adjusting the boundary nodes, and writing lanes information to file


Function Documentation

void adjustBoundaryNodes float **  PeakPosition,
float *  NodePosition,
struct GelInfo GelInfo
 

move first node to stopPreData and extrapolate out to get peak positions at the edges

the negative positions denoting interpolation is reset to positive

Parameters:
PeakPosition holds y position of all nodes
NodePosition holds x position of nodes in each zone
GelInfo holds various gel parameters

void extrapolateNodes float **  PeakPosition,
float *  NodePosition,
struct GelInfo GelInfo
 

linear extrapolate out to get the peak positions at the edges (0th and last node)

Parameters:
PeakPosition holds y position of all nodes
NodePosition holds x position of nodes in each zone
GelInfo holds various gel parameters

void writeLanes float **  PeakPosition,
char *  lanespath,
float *  NodePosition,
struct GelInfo GelInfo
 

write node and peak positions to lanes file

Parameters:
PeakPosition holds y position of all nodes
lanespath path to the destination lanes file
NodePosition holds x position of nodes in each zone
GelInfo holds various gel parameters


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