|
| 1 | +{ |
| 2 | + "cells": [ |
| 3 | + { |
| 4 | + "cell_type": "markdown", |
| 5 | + "metadata": {}, |
| 6 | + "source": [ |
| 7 | + "[](https://neutronimaging.ornl.gov/tutorials/imaging-notebooks/mars_sample_cataloging/)\n", |
| 8 | + "\n", |
| 9 | + "<img src='__docs/__all/notebook_rules.png' />" |
| 10 | + ] |
| 11 | + }, |
| 12 | + { |
| 13 | + "cell_type": "markdown", |
| 14 | + "metadata": {}, |
| 15 | + "source": [ |
| 16 | + "# Select Your IPTS " |
| 17 | + ] |
| 18 | + }, |
| 19 | + { |
| 20 | + "cell_type": "code", |
| 21 | + "execution_count": null, |
| 22 | + "metadata": {}, |
| 23 | + "outputs": [], |
| 24 | + "source": [ |
| 25 | + "from __code.mars_sample_cataloging.main import MarsSampleCataloging\n", |
| 26 | + "\n", |
| 27 | + "from __code import system\n", |
| 28 | + "system.System.select_working_dir(notebook='mars_sample_cataloging', ipts=\"IPTS-23788\", instrument_to_exclude=[\"VENUS\", \"SNAP\"])\n", |
| 29 | + "from __code.__all import custom_style\n", |
| 30 | + "custom_style.style()" |
| 31 | + ] |
| 32 | + }, |
| 33 | + { |
| 34 | + "cell_type": "markdown", |
| 35 | + "metadata": { |
| 36 | + "run_control": { |
| 37 | + "frozen": false, |
| 38 | + "read_only": false |
| 39 | + } |
| 40 | + }, |
| 41 | + "source": [ |
| 42 | + "## Select Output Folder " |
| 43 | + ] |
| 44 | + }, |
| 45 | + { |
| 46 | + "cell_type": "code", |
| 47 | + "execution_count": null, |
| 48 | + "metadata": {}, |
| 49 | + "outputs": [], |
| 50 | + "source": [ |
| 51 | + "o_cataloging = MarsSampleCataloging(working_dir=system.System.get_working_dir())\n", |
| 52 | + "o_cataloging.select_output_folder()" |
| 53 | + ] |
| 54 | + }, |
| 55 | + { |
| 56 | + "cell_type": "code", |
| 57 | + "execution_count": null, |
| 58 | + "metadata": {}, |
| 59 | + "outputs": [], |
| 60 | + "source": [] |
| 61 | + } |
| 62 | + ], |
| 63 | + "metadata": { |
| 64 | + "anaconda-cloud": {}, |
| 65 | + "kernelspec": { |
| 66 | + "display_name": "default", |
| 67 | + "language": "python", |
| 68 | + "name": "python3" |
| 69 | + }, |
| 70 | + "language_info": { |
| 71 | + "codemirror_mode": { |
| 72 | + "name": "ipython", |
| 73 | + "version": 3 |
| 74 | + }, |
| 75 | + "file_extension": ".py", |
| 76 | + "mimetype": "text/x-python", |
| 77 | + "name": "python", |
| 78 | + "nbconvert_exporter": "python", |
| 79 | + "pygments_lexer": "ipython3", |
| 80 | + "version": "3.12.12" |
| 81 | + }, |
| 82 | + "toc": { |
| 83 | + "colors": { |
| 84 | + "hover_highlight": "#DAA520", |
| 85 | + "running_highlight": "#FF0000", |
| 86 | + "selected_highlight": "#FFD700" |
| 87 | + }, |
| 88 | + "moveMenuLeft": true, |
| 89 | + "nav_menu": { |
| 90 | + "height": "210px", |
| 91 | + "width": "252px" |
| 92 | + }, |
| 93 | + "navigate_menu": true, |
| 94 | + "number_sections": true, |
| 95 | + "sideBar": true, |
| 96 | + "threshold": 4, |
| 97 | + "toc_cell": false, |
| 98 | + "toc_section_display": "block", |
| 99 | + "toc_window_display": false |
| 100 | + } |
| 101 | + }, |
| 102 | + "nbformat": 4, |
| 103 | + "nbformat_minor": 1 |
| 104 | +} |
0 commit comments