I'm trying to classify a stimulus-response relationship and would like to fit a filter that best explains the response. I don't really work in DSP so there may be some vocabulary I'm missing, but searching for filter fitting methods is only redirecting me back towards filter design. The best solution I can come up with is to use least-squares regression and build a filter that best defines the stimulus-response relationship. Is this a valid way to go about doing this or some keywords I should be changing during literature search?
For context: My stimulus is a wave with fixed amplitude and ramping frequency, and my response is a fluorescent signal from a protein. Trying to establish if a cell expressing the protein is reacting to the stimulus with a low- or high-pass filter and the eventual goal is to cluster cells together, so I'd like to describe the filter more quantitatively than just low or high pass.