Make a detector response function for time domain response
The initial calculations for getting the detector antennae response are generic between t and f domains, so this can be pulled out into a sub-function. There should then either be seperate t and f domain detector response functions, or an argument determining which format to return the response in.