network_dpy.py 765 Bytes
# -*- coding: utf-8 -*-
"""
Created on Sat Jan 19 2018

@author: Jiabing
"""

import struct
import numpy as np
import scipy as sp
import networkx as nx
import matplotlib.pyplot as plt
import math



alkjasfdljkhfsadlkjhfsad
class Point:
       def __init__(self, x, y, z, radius):
           self.x = x
           self.y = y
           self.z = z
           self.r = radius
                      
            
class Fiber:
       def __init__(self, fiber_idx,point_idx):     
           self.fidx = fiber_idx
           self.pidx = point_idx
           
           

class Node:
        def __init__(self, point_idx, fidx):
            self.pidx= point_idx
            self.fidx = fidx
            
            
#class NWT:
    
#class network(point, Fiber, Node):