clean up network_characteristics.py