60Hz on analog i/ps

I don't know what "i/ps" or "I/P" is.

When you are reading a DC voltage (for example an analog temperature sensor) in an environment with mains noise, you get better results by reading during a period (or multiple periods) of the mains 50Hz or 60Hz.

I had a chart of an analog temperature sensor at ThingSpeak.com
But it didn't look nice, too much noise. After sampling to reduce 50Hz noise the chart is now very smooth.

But you also should have good look at the circuit. Avoid high impedance, filter the power supply, avoid long wires.

You could make a loop with analogRead() and a delay. The analogRead() takes a certain time (about 120us), so tuning the delay between the samples is hard.
You could use millis() or micros() and use analogRead() without delay during the period.
Or a background task that uses the average of 1 second.