Update sclight_GPS_test authored by Kentaro Mogushi's avatar Kentaro Mogushi
# Here, I check the distribution of GPS times in the testing set # Here, I check the distribution of GPS times in the testing set
```
list_GPS_test_sorted = np.sort(list_GPS_test)
list_GPS_test_sorted_min = list_GPS_test_sorted.min()
plt.hist((list_GPS_test - list_GPS_test_sorted_min)/ (24 * 3600.), bins=100)
plt.xlabel('Relative GPS time [day] since {}'.format(list_GPS_test_sorted_min))
plt.savefig('test.png')
plt.close()
```
![Screenshot_2021-03-16_test_png__PNG_Image__640___480_pixels_](uploads/01089d93048a506ee9fffe2b0a0d4925/Screenshot_2021-03-16_test_png__PNG_Image__640___480_pixels_.png) ![Screenshot_2021-03-16_test_png__PNG_Image__640___480_pixels_](uploads/01089d93048a506ee9fffe2b0a0d4925/Screenshot_2021-03-16_test_png__PNG_Image__640___480_pixels_.png)
```
day_GPS = (list_GPS_test_sorted - list_GPS_test_sorted_min)/ (24 * 3600.)
plt.hist(day_GPS[day_GPS < 2], bins=100)
plt.xlabel('Relative GPS time [day] since {}'.format(list_GPS_test_sorted_min))
plt.savefig('test.png')
plt.close()
```
![Screen_Shot_2021-03-16_at_6.24.55_PM](uploads/4ea4b5b2cff5247456768469a5d6dc6d/Screen_Shot_2021-03-16_at_6.24.55_PM.png)
```
diff = list_GPS_test_sorted[1:] - list_GPS_test_sorted[:-1]
plt.hist(diff,bins=100)
plt.xlabel('difference of the adjacent GPS')
plt.savefig('test.png')
plt.close()
```
![Screen_Shot_2021-03-16_at_6.18.27_PM](uploads/c5ad79cee00bb4d81e80487e737bba1f/Screen_Shot_2021-03-16_at_6.18.27_PM.png)