Here is an example of a DIY ferrite coil that can be used in lighting installs.