-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path2026-01-13_格陵兰鲨是最长寿的脊椎动物.qmd
More file actions
129 lines (87 loc) · 3.37 KB
/
2026-01-13_格陵兰鲨是最长寿的脊椎动物.qmd
File metadata and controls
129 lines (87 loc) · 3.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
---
title: 最长寿鲨
subtitle: 格陵兰鲨是最长寿的脊椎动物
date: 2026-01-13
toc-depth: 4
toc-expand: true
lang: en
---
<center>
{width="100%"}
</center>
## 1. 格陵兰鲨的寿命
> The Greenland shark is the <mark>longest-living vertebrate</mark> on Earth, with an estimated lifespan of <mark>up to 400 years</mark>. [@Fogg2026]
> ... the largest animal (502 cm) (i.e. Greenland shark) to be <mark>392 ± 120 years old</mark>. [@Nielsen2016]
## 2. 如何知道格陵兰鲨的寿命?
> <mark>Radiocarbon dating of eye lens nuclei</mark> from 28 female Greenland sharks ...[@Nielsen2016]
## 3. 格陵兰鲨什么时候性成熟?
> the age at <mark>sexual maturity to be at least 156 ± 22 years</mark>, and the largest animal (502 cm) to be 392 ± 120 years old. [@Nielsen2016]
## 4. QuPath groovy script for fun
<center>
{width="100%"}
</center>
<center>
{width="100%"}
</center>
这是groovy script of QuPath:
```
// QuPath v0.6.0
import qupath.lib.common.GeneralTools
import qupath.lib.objects.PathObjects
import qupath.lib.roi.ROIs
// Remove all existed objects if there are any
selectAllObjects()
removeAllObjects()
// Set image type
setImageType("OTHER")
// Sleep for 30 seconds for opening screen recording
//Thread.sleep(30000)
// ****************************************
// Show self-introduction (i.e. three sentences)
// ****************************************
// Define image plane
def plane = getCurrentViewer().getImagePlane()
// Select greenland shark
def shark_x = [242, 353, 489, 676, 755, 720, 529, 341, 248, 181, 197] as double[]
def shark_y = [154, 169, 200, 309, 390, 466, 445, 354, 275, 214, 181] as double[]
def shark_roi = ROIs.createPolygonROI(shark_x, shark_y, plane)
def shark_anno = PathObjects.createAnnotationObject(shark_roi)
addObjects(shark_anno)
// 1st sentence
Thread.sleep(2000)
def line1_roi = ROIs.createPointsROI(300, 80, plane)
def line1_anno = PathObjects.createAnnotationObject(line1_roi)
def sentence_1 = "I'm greenland shark."
line1_anno.setName(sentence_1)
addObject(line1_anno)
// 2nd sentence
Thread.sleep(2000)
def line2_roi = ROIs.createPointsROI(600, 150, plane)
def line2_anno = PathObjects.createAnnotationObject(line2_roi)
def sentence_2 = "I can have a lifespan up to 400 years (the longest-living vertebrate)!"
line2_anno.setName(sentence_2)
addObject(line2_anno)
// 3rd sentence
Thread.sleep(2000)
def line3_roi = ROIs.createPointsROI(300, 550, plane)
def line3_anno = PathObjects.createAnnotationObject(line3_roi)
def sentence_3 = "I can start to have kids when I am roughly 156 years old."
line3_anno.setName(sentence_3)
addObject(line3_anno)
Thread.sleep(2000)
// Select all objects
selectAllObjects()
// ****************************************
// Export as raster image with overlays (annotations)
// ****************************************
def viewer = getCurrentViewer()
def name = getCurrentImageNameWithoutExtension()
def path_png = buildFilePath("d://GeneCard//00_Post//52_greenland-shark-400-years",
"images",
"${name}.png"
)
writeRenderedImage(viewer, path_png)
println 'Done!'
```
[给我买杯茶🍵](给我买杯茶.qmd)
## References