def get_sec (hdr,key='BIASSEC') :
	"""
	Returns the numpy range for a FITS section based on a FITS header entry using the standard format

		{key} = '[{col1}:{col2},{row1}:row2}]'

	where 1 <= col <= NAXIS1, 1 <= row <= NAXIS2.
	"""
	if key in hdr :
		s = hdr.get(key)	# WITHOUT CARD COMMENT
		ny = hdr['NAXIS2']
		sx = s[s.index('[')+1:s.index(',')].split(':')
		sy = s[s.index(',')+1:s.index(']')].split(':')
		return [ny-int(sy[1]),ny-int(sy[0])+1,int(sx[0])-1,int(sx[1])]
	else :
		return None