Which library to use for MPU9250 sensor?

I have been using three different libraries for mpu9250 sensor, the problem is all these libraries give different outputs. So i don't know which one is more accurate to use. The libraries i have been using are

  1. MPU9250.h
  2. asukiaa.h
  3. we.h
    It would be very helpful for me if anyone can guide me which libraries to use.
    the purpose of this sensor in my project is to measure the magnetic field in nearby earth(i mean in a specific area near a site to measure the field there) field.

Try the ones available in the IDE and choose one that works fine for you.

firstly, thanks for the reply.
the thing is different libraries are giving different values for the same stimulus to sensor, it kind of is confusing which would fit my work. though what you are saying also makes sense.

You will need to calibrate the magnetometer in any case, so it really shouldn't matter which library you use to get the raw values.

Best calibration overview and tutorial: Tutorial: How to calibrate a compass (and accelerometer) with Arduino | Underwater Arduino Data Loggers

Thanks for the clarification