Skip to content

Commit

Permalink
Add href
Browse files Browse the repository at this point in the history
  • Loading branch information
smsharma committed Mar 3, 2024
1 parent 8802220 commit 8c858a9
Show file tree
Hide file tree
Showing 53 changed files with 25 additions and 19 deletions.
8 changes: 5 additions & 3 deletions notebooks/03_eval.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@
},
{
"cell_type": "code",
"execution_count": 32,
"execution_count": 38,
"id": "76ae1bcd",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -450,7 +450,7 @@
"\n",
"sorted_idxs_list = []\n",
"\n",
"save_dir = \"../paper/plots/\"\n",
"save_dir = \"../paper/plots/data/\"\n",
"\n",
"# Process each query\n",
"for row, query in enumerate(queries):\n",
Expand All @@ -476,7 +476,9 @@
" plt.close()\n",
"\n",
" with open(save_dir + f\"/propid_tti_{row}_{col}.txt\", 'w') as file:\n",
" file.write(get_propid_phenomena(captions_stack[idx]))"
" idy = str(get_propid_phenomena(captions_stack[idx]))\n",
" url = f\"\\\\href{{https://archive.stsci.edu/proposal_search.php?id={idy}&mission=hst}}{{{idy}}}\"\n",
" file.write(url)"
]
},
{
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions paper/plots/data/propid_tti_0_0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\href{https://archive.stsci.edu/proposal_search.php?id=11956&mission=hst}{11956}
1 change: 1 addition & 0 deletions paper/plots/data/propid_tti_0_1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\href{https://archive.stsci.edu/proposal_search.php?id=6028&mission=hst}{6028}
1 change: 1 addition & 0 deletions paper/plots/data/propid_tti_0_2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\href{https://archive.stsci.edu/proposal_search.php?id=11956&mission=hst}{11956}
1 change: 1 addition & 0 deletions paper/plots/data/propid_tti_0_3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\href{https://archive.stsci.edu/proposal_search.php?id=11096&mission=hst}{11096}
1 change: 1 addition & 0 deletions paper/plots/data/propid_tti_1_0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\href{https://archive.stsci.edu/proposal_search.php?id=13768&mission=hst}{13768}
1 change: 1 addition & 0 deletions paper/plots/data/propid_tti_1_1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\href{https://archive.stsci.edu/proposal_search.php?id=13768&mission=hst}{13768}
1 change: 1 addition & 0 deletions paper/plots/data/propid_tti_1_2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\href{https://archive.stsci.edu/proposal_search.php?id=13768&mission=hst}{13768}
1 change: 1 addition & 0 deletions paper/plots/data/propid_tti_1_3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\href{https://archive.stsci.edu/proposal_search.php?id=13768&mission=hst}{13768}
1 change: 1 addition & 0 deletions paper/plots/data/propid_tti_2_0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\href{https://archive.stsci.edu/proposal_search.php?id=11653&mission=hst}{11653}
1 change: 1 addition & 0 deletions paper/plots/data/propid_tti_2_1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\href{https://archive.stsci.edu/proposal_search.php?id=11653&mission=hst}{11653}
1 change: 1 addition & 0 deletions paper/plots/data/propid_tti_2_2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\href{https://archive.stsci.edu/proposal_search.php?id=8648&mission=hst}{8648}
1 change: 1 addition & 0 deletions paper/plots/data/propid_tti_2_3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\href{https://archive.stsci.edu/proposal_search.php?id=7340&mission=hst}{7340}
1 change: 1 addition & 0 deletions paper/plots/data/propid_tti_3_0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\href{https://archive.stsci.edu/proposal_search.php?id=14098&mission=hst}{14098}
1 change: 1 addition & 0 deletions paper/plots/data/propid_tti_3_1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\href{https://archive.stsci.edu/proposal_search.php?id=11602&mission=hst}{11602}
1 change: 1 addition & 0 deletions paper/plots/data/propid_tti_3_2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\href{https://archive.stsci.edu/proposal_search.php?id=11602&mission=hst}{11602}
1 change: 1 addition & 0 deletions paper/plots/data/propid_tti_3_3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\href{https://archive.stsci.edu/proposal_search.php?id=12068&mission=hst}{12068}
1 change: 1 addition & 0 deletions paper/plots/data/query_tti_0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Jupiter
1 change: 1 addition & 0 deletions paper/plots/data/query_tti_1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dwarf galaxy
1 change: 1 addition & 0 deletions paper/plots/data/query_tti_2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SN1987A
1 change: 1 addition & 0 deletions paper/plots/data/query_tti_3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
strong lensing
1 change: 0 additions & 1 deletion paper/plots/propid_tti_0_0.txt

This file was deleted.

1 change: 0 additions & 1 deletion paper/plots/propid_tti_0_1.txt

This file was deleted.

1 change: 0 additions & 1 deletion paper/plots/propid_tti_0_2.txt

This file was deleted.

1 change: 0 additions & 1 deletion paper/plots/propid_tti_0_3.txt

This file was deleted.

1 change: 0 additions & 1 deletion paper/plots/propid_tti_1_0.txt

This file was deleted.

1 change: 0 additions & 1 deletion paper/plots/propid_tti_1_1.txt

This file was deleted.

1 change: 0 additions & 1 deletion paper/plots/propid_tti_1_2.txt

This file was deleted.

1 change: 0 additions & 1 deletion paper/plots/propid_tti_1_3.txt

This file was deleted.

1 change: 0 additions & 1 deletion paper/plots/propid_tti_2_0.txt

This file was deleted.

1 change: 0 additions & 1 deletion paper/plots/propid_tti_2_1.txt

This file was deleted.

1 change: 0 additions & 1 deletion paper/plots/propid_tti_2_2.txt

This file was deleted.

1 change: 0 additions & 1 deletion paper/plots/propid_tti_2_3.txt

This file was deleted.

1 change: 0 additions & 1 deletion paper/plots/propid_tti_3_0.txt

This file was deleted.

1 change: 0 additions & 1 deletion paper/plots/propid_tti_3_1.txt

This file was deleted.

1 change: 0 additions & 1 deletion paper/plots/propid_tti_3_2.txt

This file was deleted.

1 change: 0 additions & 1 deletion paper/plots/propid_tti_3_3.txt

This file was deleted.

0 comments on commit 8c858a9

Please sign in to comment.