tnet: utilities holding temporal network info¶
moraine.api.tnet(源码)。每个名字也是 moraine.<name>(import moraine as mr)。
TempNet
¶
nimage_from_npair
¶
infer number of images from number of pairs assuming all pairs are selected.
示例¶
构建本手册时运行;输出紧随每段代码。
import moraine as mr
tnet = mr.TempNet.from_bandwidth(6, bandwidth=2) # 6 images, every image paired with the next two
print(tnet.image_pairs.shape, tnet.image_pairs.dtype)
print(tnet.image_pairs.tolist())
print(mr.nimage_from_npair(15)) # 15 pairs of all images: 6 images
The image pairs file of the image-pairs command has the same two columns (reference, secondary); the
interferogram of a pair is ref * conj(sec).