Skip to content

Instantly share code, notes, and snippets.

View nikhilgupta10's full-sized avatar

nikhilgupta10

View GitHub Profile
@nikhilgupta10
nikhilgupta10 / arm-calibration.py
Last active August 29, 2015 14:07
Python scripts used for Raw data Reprocessing
#Find and change calibration coefficient
#Instrument: IRT
import glob
import os
import tarfile
path = raw_input('Enter the path: (example: /data/archive/sgp/sgpirtE38.00):')
os.chdir(path)
print 'Number of files are:', len([name for name in os.listdir('.') if os.path.isfile(name)])