This filament was acted upon by powerful electromagnets positioned either side of it, which caused sideways displacement of the filament in proportion to the current carried due to the electromagnetic field.
This filament was subjected to powerful electromagnets positioned on either side of it, causing lateral displacement of the filament in proportion to the current flowing through it due to the electromagnetic field.