def resels2nelements(resels, fwhm):
    """
	Get the field size from resel counts based on the FWHM (element-based sampling).

	:Example:
	
		>>> resels = (1, 10.0)
		>>> nNodes = rft1d.geom.resels2nelements(resels, 10.0) #yields 100
		>>> resels = (2, 6.9)
		>>> nNodes = rft1d.geom.resels2nelements(resels, 10.0) #yields 69
	
	:Note:
		
		See **rft1d.geom.resel_counts** for details regarding node-based vs. element-based sampling.
	"""
    return int(fwhm * resels[1])
