Skip to content

Commit 4096564

Browse files
committed
2 parents c675539 + f8d2238 commit 4096564

2 files changed

Lines changed: 44 additions & 50 deletions

File tree

python/io/io_hdf5.ipynb

Lines changed: 42 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,46 @@
634634
" return (raw - dark) / (flat - dark)"
635635
]
636636
},
637+
{
638+
"cell_type": "markdown",
639+
"metadata": {
640+
"slideshow": {
641+
"slide_type": "fragment"
642+
}
643+
},
644+
"source": [
645+
"*note: if you like to plot an image you can use the imshow command !!! the %pylab should be called once before calling the imshow function !!!*"
646+
]
647+
},
648+
{
649+
"cell_type": "code",
650+
"execution_count": null,
651+
"metadata": {
652+
"slideshow": {
653+
"slide_type": "fragment"
654+
}
655+
},
656+
"outputs": [],
657+
"source": [
658+
"%matplotlib inline\n",
659+
"\n",
660+
"from matplotlib import pyplot as plt"
661+
]
662+
},
663+
{
664+
"cell_type": "code",
665+
"execution_count": null,
666+
"metadata": {
667+
"slideshow": {
668+
"slide_type": "fragment"
669+
}
670+
},
671+
"outputs": [],
672+
"source": [
673+
"import numpy\n",
674+
"plt.imshow(numpy.random.random((20, 60)))"
675+
]
676+
},
637677
{
638678
"cell_type": "markdown",
639679
"metadata": {
@@ -702,46 +742,6 @@
702742
"# ...\n"
703743
]
704744
},
705-
{
706-
"cell_type": "markdown",
707-
"metadata": {
708-
"slideshow": {
709-
"slide_type": "fragment"
710-
}
711-
},
712-
"source": [
713-
"*note: if you like to plot an image you can use the imshow command !!! the %pylab should be called once before calling the imshow function !!!*"
714-
]
715-
},
716-
{
717-
"cell_type": "code",
718-
"execution_count": null,
719-
"metadata": {
720-
"slideshow": {
721-
"slide_type": "fragment"
722-
}
723-
},
724-
"outputs": [],
725-
"source": [
726-
"%matplotlib inline\n",
727-
"\n",
728-
"from matplotlib import pyplot as plt"
729-
]
730-
},
731-
{
732-
"cell_type": "code",
733-
"execution_count": null,
734-
"metadata": {
735-
"slideshow": {
736-
"slide_type": "fragment"
737-
}
738-
},
739-
"outputs": [],
740-
"source": [
741-
"import numpy\n",
742-
"plt.imshow(numpy.random.random((20, 60)))"
743-
]
744-
},
745745
{
746746
"cell_type": "markdown",
747747
"metadata": {
@@ -816,7 +816,7 @@
816816
"\n",
817817
"This can be an issue, e.g., during acquisition.\n",
818818
"\n",
819-
"WARNING: With file locking disabled, do not open twice the same file for writing or the file will be corrupted.To disable file locking, open the HDF5 file this way:"
819+
"WARNING: With file locking disabled, do not open twice the same file for writing or the file will be corrupted. To disable file locking, open the HDF5 file this way:"
820820
]
821821
},
822822
{
@@ -875,7 +875,7 @@
875875
"cell_type": "markdown",
876876
"metadata": {
877877
"slideshow": {
878-
"slide_type": "subslide"
878+
"slide_type": "fragment"
879879
}
880880
},
881881
"source": [
@@ -973,13 +973,6 @@
973973
"* an example on [how to store tomography raw data](http://download.nexusformat.org/doc/html/classes/applications/NXtomo.html?highlight=tomography)\n",
974974
"* an example to store [tomoraphy application (3D reconstruction)](http://download.nexusformat.org/doc/html/classes/applications/NXtomoproc.html?highlight=tomography)\n"
975975
]
976-
},
977-
{
978-
"cell_type": "code",
979-
"execution_count": null,
980-
"metadata": {},
981-
"outputs": [],
982-
"source": []
983976
}
984977
],
985978
"metadata": {

training_notes/connection.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"cells": [
33
{
4+
"attachments": {},
45
"cell_type": "markdown",
56
"metadata": {
67
"collapsed": true,
@@ -86,7 +87,7 @@
8687
"name": "python",
8788
"nbconvert_exporter": "python",
8889
"pygments_lexer": "ipython3",
89-
"version": "3.5.2"
90+
"version": "3.7.3"
9091
}
9192
},
9293
"nbformat": 4,

0 commit comments

Comments
 (0)