Skip to content

Commit 712e6a8

Browse files
committed
- updated doy.
1 parent 0e66824 commit 712e6a8

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

samples/test_osnma.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@
3232

3333
nma.flg_slowmac = False
3434

35-
file_galinav = '../data/doy2025-046/046r_galinav.txt'
36-
doy = 305
35+
year = 2025
36+
doy = 46
37+
session = 'r'
38+
39+
file_galinav = f'../data/doy{year}-{doy:03d}/{doy:03d}{session}_galinav.txt'
3740

3841
dtype_ = [('tow', 'i8'), ('wn', 'i8'), ('prn', 'i8'),
3942
('mt', 'i8'), ('k', 'i8'), ('nma', 'S10'),
@@ -77,7 +80,7 @@
7780

7881
if True:
7982

80-
tmax = 240
83+
tmax = 300
8184

8285
fig, ax = plt.subplots()
8386
plt.plot(tow-tow[0], nsat[:, 0], label='tracked')
@@ -104,7 +107,7 @@
104107
ax.set_xticks(np.arange(0, 300, 30))
105108
plt.legend()
106109
plt.ylim([0, 6])
107-
plt.xlim([0, 240])
110+
plt.xlim([0, tmax])
108111
plt.ylabel('status')
109112
plt.xlabel('time [s]')
110113
plt.savefig('osnma-{0:d}-status.png'.format(doy))

samples/test_qznma.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103

104104
if True:
105105

106-
tmax = 500
106+
tmax = 300
107107

108108
fig, ax = plt.subplots()
109109
# plt.plot(tow_-tow_[0], nsat[:, 0], label='tracked')

0 commit comments

Comments
 (0)