Skip to content

Instantly share code, notes, and snippets.

@altavir
Created June 25, 2018 11:22
Show Gist options
  • Save altavir/65c3cd148d9ccbc5413d4895790ee70d to your computer and use it in GitHub Desktop.
Save altavir/65c3cd148d9ccbc5413d4895790ee70d to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"metadata": {
"ExecuteTime": {
"end_time": "2018-04-08T18:49+0000",
"start_time": "2018-04-08T18:49+0000"
},
"trusted": true
},
"cell_type": "code",
"source": "%classpath add jar ../build/install/trapping/lib/*",
"execution_count": 1,
"outputs": [
{
"output_type": "display_data",
"data": {
"method": "display_data",
"application/vnd.jupyter.widget-view+json": {
"version_minor": 0,
"model_id": "bc1b8430-ab79-4914-9e41-45f23265cf1e",
"version_major": 2
}
},
"metadata": {}
}
]
},
{
"metadata": {
"ExecuteTime": {
"end_time": "2018-04-08T18:58+0000",
"start_time": "2018-04-08T18:58+0000"
},
"trusted": true
},
"cell_type": "code",
"source": "scatter = inr.numass.trapping.Scatter.INSTANCE\n\ndef e = (1..20) // energy in keV\n\ndef factor = 1e-22\ndef sigmaEl = e.collect{scatter.sigmael(it*1000)/factor}\ndef sigmaIon = e.collect{scatter.sigmaion(it*1000)/factor}\ndef sigmaExc = e.collect{scatter.sigmaexc(it*1000)/factor}\n\ndef plot = new Plot(logY: true, yLogBase: 10)\nplot << new Line(x: e, y: sigmaEl, displayName: \"Elastic\")\nplot << new Line(x: e, y: sigmaIon, displayName: \"Ionization\")\nplot << new Line(x: e, y: sigmaExc, displayName: \"Excitation\")",
"execution_count": 8,
"outputs": [
{
"output_type": "display_data",
"data": {
"method": "display_data",
"application/vnd.jupyter.widget-view+json": {
"version_minor": 0,
"model_id": "33d0d147-b8a2-4e34-8e91-8222c7b83e1e",
"version_major": 2
}
},
"metadata": {}
}
]
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "def ratio = (1..20).collect{scatter.sigmael(it*1000)/scatter.sigmaion(it*1000)}\n\nnew Line(x: (1..20), y: ratio, displayName: \"ratio\")",
"execution_count": 10,
"outputs": [
{
"output_type": "display_data",
"data": {
"method": "display_data",
"application/vnd.jupyter.widget-view+json": {
"version_minor": 0,
"model_id": "d77b3d5d-5994-497f-afb5-7d96cccae5fc",
"version_major": 2
}
},
"metadata": {}
}
]
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "def scatter = inr.numass.trapping.Scatter.INSTANCE\ndef factor = 1e-22\n(1..20).collect{\n [\"E\" :it, \"el\" : scatter.sigmael(it*1000)/factor, \"ion\":scatter.sigmaion(it*1000)/factor, \"exc\":scatter.sigmaexc(it*1000)/factor]\n}",
"execution_count": 5,
"outputs": [
{
"output_type": "display_data",
"data": {
"method": "display_data",
"application/vnd.jupyter.widget-view+json": {
"version_minor": 0,
"model_id": "6c670d0f-e7f5-4b8d-9520-64aa62280918",
"version_major": 2
}
},
"metadata": {}
}
]
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "",
"execution_count": null,
"outputs": []
}
],
"metadata": {
"kernelspec": {
"name": "groovy",
"display_name": "Groovy",
"language": "groovy"
},
"language_info": {
"nbconverter_exporter": "",
"codemirror_mode": "groovy",
"name": "Groovy",
"mimetype": "",
"file_extension": ".groovy",
"version": "2.4.3"
},
"toc": {
"nav_menu": {},
"number_sections": false,
"sideBar": false,
"skip_h1_title": false,
"base_numbering": 1,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": false,
"toc_window_display": false
},
"varInspector": {
"window_display": false,
"cols": {
"lenName": 16,
"lenType": 16,
"lenVar": 40
},
"kernels_config": {
"python": {
"library": "var_list.py",
"delete_cmd_prefix": "del ",
"delete_cmd_postfix": "",
"varRefreshCmd": "print(var_dic_list())"
},
"r": {
"library": "var_list.r",
"delete_cmd_prefix": "rm(",
"delete_cmd_postfix": ") ",
"varRefreshCmd": "cat(var_dic_list()) "
}
},
"types_to_exclude": [
"module",
"function",
"builtin_function_or_method",
"instance",
"_Feature"
]
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
"version_major": 2,
"version_minor": 0,
"state": {
"8041583c-0139-4b33-8ee7-58c7159e7393": {
"model_name": "LayoutModel",
"model_module": "@jupyter-widgets/base",
"model_module_version": "*",
"state": {
"overflow_y": "",
"max_height": "",
"justify_content": "",
"overflow_x": "",
"max_width": "",
"_model_module_version": "*",
"align_self": "",
"overflow": "",
"msg_throttle": 3,
"top": "",
"flex": "",
"height": "",
"min_width": "",
"align_content": "",
"border": "",
"padding": "",
"margin": "",
"bottom": "",
"right": "",
"min_height": "",
"_view_module_version": "*",
"left": ""
}
},
"bc1b8430-ab79-4914-9e41-45f23265cf1e": {
"model_name": "FoldoutModel",
"model_module": "beakerx",
"model_module_version": "*",
"state": {
"font_weight": "",
"visible": true,
"color": null,
"headerLabel": "Added jars: ",
"font_size": "",
"description": "",
"font_style": "",
"layout": "IPY_MODEL_8041583c-0139-4b33-8ee7-58c7159e7393",
"background_color": null,
"msg_throttle": 3,
"children": [
"IPY_MODEL_acc57820-9776-4005-950c-451688b01423"
],
"disabled": false,
"font_family": "",
"hidePreview": false
}
},
"76f6e358-cc0e-40fb-afc8-0c0f67b9fffc": {
"model_name": "LayoutModel",
"model_module": "@jupyter-widgets/base",
"model_module_version": "*",
"state": {
"overflow_y": "",
"max_height": "",
"justify_content": "",
"overflow_x": "",
"max_width": "",
"_model_module_version": "*",
"align_self": "",
"overflow": "",
"msg_throttle": 3,
"top": "",
"flex": "",
"height": "",
"min_width": "",
"align_content": "",
"border": "",
"padding": "",
"margin": "",
"bottom": "",
"right": "",
"min_height": "",
"_view_module_version": "*",
"left": ""
}
},
"acc57820-9776-4005-950c-451688b01423": {
"model_name": "BxHTMLModel",
"model_module": "beakerx",
"model_module_version": "*",
"state": {
"font_weight": "",
"visible": true,
"color": null,
"font_size": "",
"font_style": "",
"layout": "IPY_MODEL_76f6e358-cc0e-40fb-afc8-0c0f67b9fffc",
"background_color": null,
"msg_throttle": 3,
"font_family": "",
"placeholder": "",
"value": "commons-math3-3.6.1.jar, kotlin-stdlib-jdk7-1.2.30.jar, kotlin-stdlib-jdk8-1.2.30.jar, trapping-dev.jar, kotlin-stdlib-1.2.30.jar, annotations-13.0.jar"
}
},
"1c5499c5-af47-49b9-8c03-3ca6e6486594": {
"model_name": "PlotModel",
"model_module": "beakerx",
"model_module_version": "*",
"state": {
"model": {
"type": "Plot",
"init_width": 640,
"init_height": 480,
"chart_title": null,
"show_legend": null,
"use_tool_tip": true,
"legend_position": {
"type": "LegendPosition",
"position": "TOP_RIGHT"
},
"legend_layout": "VERTICAL",
"custom_styles": [],
"element_styles": {},
"domain_axis_label": null,
"y_label": "",
"rangeAxes": [
{
"type": "YAxis",
"label": "",
"auto_range": true,
"auto_range_includes_zero": false,
"lower_margin": 0,
"upper_margin": 0,
"lower_bound": 0,
"upper_bound": 0,
"use_log": true,
"log_base": 10
}
],
"x_lower_margin": 0.05,
"x_upper_margin": 0.05,
"y_auto_range": true,
"y_auto_range_includes_zero": false,
"y_lower_margin": 0,
"y_upper_margin": 0,
"y_lower_bound": 0,
"y_upper_bound": 0,
"log_y": true,
"timezone": null,
"crosshair": null,
"omit_checkboxes": false,
"auto_zoom": false,
"graphics_list": [
{
"type": "Line",
"uid": "a36e8832-46c0-4dbf-919d-b3aed88cf4cd",
"visible": true,
"yAxis": null,
"hasClickAction": false,
"x": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20
],
"y": [
5.02429275896784,
2.530171361205116,
1.6951948914114314,
1.2770383950302346,
1.0259352866412699,
0.858449260755986,
0.7387776288143606,
0.6490045198119522,
0.5791709331267644,
0.5232988858568134,
0.47758292647168415,
0.43948540252301355,
0.4072490887234942,
0.3796185919582249,
0.3556731461324769,
0.33472208355517563,
0.3162371847149949,
0.29980757001605496,
0.28510883137312576,
0.2718814213299798
],
"display_name": "Elastic",
"width": 1.5
},
{
"type": "Line",
"uid": "cecea975-b9af-433e-b103-f70fedcd8601",
"visible": true,
"yAxis": null,
"hasClickAction": false,
"x": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20
],
"y": [
23.084650008397315,
12.90225364862634,
9.131840606182061,
7.131091146527012,
5.879992612294952,
5.019229851233591,
4.38860782222281,
3.905527734370427,
3.522932625410561,
3.211982035033013,
2.9539827556040623,
2.7362696996880764,
2.5499475344425586,
2.3885794317439313,
2.2473889914415754,
2.122754947738674,
2.011880330005736,
1.9125694954194674,
1.8230740325455845,
1.7419838819592748
],
"display_name": "Ionization",
"width": 1.5
},
{
"type": "Line",
"uid": "033eac40-1730-4d5e-8623-5e793776eb59",
"visible": true,
"yAxis": null,
"hasClickAction": false,
"x": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20
],
"y": [
17.792358553521975,
10.222938929861165,
7.3326957162630535,
5.774849291480672,
4.790727916182921,
4.1086010758315865,
3.6059612912226324,
3.219114559015381,
2.9115350826729274,
2.6607158887114966,
2.452002467459636,
2.2754271467658227,
2.123965137464613,
1.9925177389113418,
1.8772912117454528,
1.7754022361452126,
1.684618830362136,
1.603185280569817,
1.5297008537781163,
1.463033909665766
],
"display_name": "Excitation",
"width": 1.5
}
],
"constant_lines": [],
"constant_bands": [],
"rasters": [],
"texts": [],
"x_auto_range": true,
"x_lower_bound": 0,
"x_upper_bound": 0,
"log_x": false,
"x_log_base": 10,
"x_tickLabels_visible": true,
"y_tickLabels_visible": true,
"numberOfPoints": 20,
"outputPointsLimit": 1000000,
"outputPointsPreviewNumber": 10000,
"tips": {
"i1_12": {
"id": "i1_12",
"idx": 1,
"ele": {
"x": 0.506265664160401,
"y": 0.050134060302763225,
"index": 12,
"_x": 13,
"_y": 2.5499475344425586
},
"isresp": true,
"cx": 345.4,
"cy": 229.4,
"tooltip_cx": 345.4,
"tooltip_cy": 229.4,
"tooltip_r": 5,
"op": 0,
"sticking": false,
"targetx": 0.5062626615438351,
"targety": 0.05014502842557141,
"datax": 0.5075341643381068,
"datay": 0.049229899060215805,
"scrx": 355.32812499999955,
"scry": 233.34375000000003,
"hidden": true
}
}
}
}
},
"6c670d0f-e7f5-4b8d-9520-64aa62280918": {
"model_name": "TableDisplayModel",
"model_module": "beakerx",
"model_module_version": "*",
"state": {
"model": {
"hasDoubleClickAction": false,
"doubleClickTag": null,
"contextMenuItems": [],
"contextMenuTags": {},
"type": "TableDisplay",
"columnNames": [
"E",
"el",
"ion",
"exc"
],
"types": [
"integer",
"double",
"double",
"double"
],
"subtype": "ListOfMaps",
"stringFormatForTimes": null,
"stringFormatForType": {},
"stringFormatForColumn": {},
"rendererForType": {},
"rendererForColumn": {},
"alignmentForType": {},
"alignmentForColumn": {},
"columnsFrozen": {},
"columnsFrozenRight": {},
"columnsVisible": {},
"columnOrder": [],
"cellHighlighters": [],
"tooltips": [],
"dataFontSize": null,
"headerFontSize": null,
"fontColor": [],
"headersVertical": false,
"hasIndex": null,
"timeZone": null,
"values": [
[
1,
5.02429275896784,
23.084650008397315,
17.792358553521975
],
[
2,
2.530171361205116,
12.90225364862634,
10.222938929861165
],
[
3,
1.6951948914114314,
9.131840606182061,
7.3326957162630535
],
[
4,
1.2770383950302346,
7.131091146527012,
5.774849291480672
],
[
5,
1.0259352866412699,
5.879992612294952,
4.790727916182921
],
[
6,
0.858449260755986,
5.019229851233591,
4.1086010758315865
],
[
7,
0.7387776288143606,
4.38860782222281,
3.6059612912226324
],
[
8,
0.6490045198119522,
3.905527734370427,
3.219114559015381
],
[
9,
0.5791709331267644,
3.522932625410561,
2.9115350826729274
],
[
10,
0.5232988858568134,
3.211982035033013,
2.6607158887114966
],
[
11,
0.47758292647168415,
2.9539827556040623,
2.452002467459636
],
[
12,
0.43948540252301355,
2.7362696996880764,
2.2754271467658227
],
[
13,
0.4072490887234942,
2.5499475344425586,
2.123965137464613
],
[
14,
0.3796185919582249,
2.3885794317439313,
1.9925177389113418
],
[
15,
0.3556731461324769,
2.2473889914415754,
1.8772912117454528
],
[
16,
0.33472208355517563,
2.122754947738674,
1.7754022361452126
],
[
17,
0.3162371847149949,
2.011880330005736,
1.684618830362136
],
[
18,
0.29980757001605496,
1.9125694954194674,
1.603185280569817
],
[
19,
0.28510883137312576,
1.8230740325455845,
1.5297008537781163
],
[
20,
0.2718814213299798,
1.7419838819592748,
1.463033909665766
]
],
"tooManyRows": false
}
}
},
"25062a48-5340-479f-a955-5ff3e8f75404": {
"model_name": "PlotModel",
"model_module": "beakerx",
"model_module_version": "*",
"state": {}
},
"4b6a9538-6870-4397-9271-942742b1142c": {
"model_name": "PlotModel",
"model_module": "beakerx",
"model_module_version": "*",
"state": {
"model": {
"type": "Plot",
"init_width": 640,
"init_height": 480,
"chart_title": null,
"show_legend": null,
"use_tool_tip": true,
"legend_position": {
"type": "LegendPosition",
"position": "TOP_RIGHT"
},
"legend_layout": "VERTICAL",
"custom_styles": [],
"element_styles": {},
"domain_axis_label": null,
"y_label": "",
"rangeAxes": [
{
"type": "YAxis",
"label": "",
"auto_range": true,
"auto_range_includes_zero": false,
"lower_margin": 0,
"upper_margin": 0,
"lower_bound": 0,
"upper_bound": 0,
"use_log": true,
"log_base": 10
}
],
"x_lower_margin": 0.05,
"x_upper_margin": 0.05,
"y_auto_range": true,
"y_auto_range_includes_zero": false,
"y_lower_margin": 0,
"y_upper_margin": 0,
"y_lower_bound": 0,
"y_upper_bound": 0,
"log_y": true,
"timezone": null,
"crosshair": null,
"omit_checkboxes": false,
"auto_zoom": false,
"graphics_list": [
{
"type": "Line",
"uid": "8f335d80-1e42-46eb-aabe-c7bb4ed58a8b",
"visible": true,
"yAxis": null,
"hasClickAction": false,
"x": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20
],
"y": [
5.02429275896784,
2.530171361205116,
1.6951948914114314,
1.2770383950302346,
1.0259352866412699,
0.858449260755986,
0.7387776288143606,
0.6490045198119522,
0.5791709331267644,
0.5232988858568134,
0.47758292647168415,
0.43948540252301355,
0.4072490887234942,
0.3796185919582249,
0.3556731461324769,
0.33472208355517563,
0.3162371847149949,
0.29980757001605496,
0.28510883137312576,
0.2718814213299798
],
"display_name": "Elastic",
"width": 1.5
},
{
"type": "Line",
"uid": "a64b3415-44c7-4c64-bd41-63ea6a7d930c",
"visible": true,
"yAxis": null,
"hasClickAction": false,
"x": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20
],
"y": [
23.084650008397315,
12.90225364862634,
9.131840606182061,
7.131091146527012,
5.879992612294952,
5.019229851233591,
4.38860782222281,
3.905527734370427,
3.522932625410561,
3.211982035033013,
2.9539827556040623,
2.7362696996880764,
2.5499475344425586,
2.3885794317439313,
2.2473889914415754,
2.122754947738674,
2.011880330005736,
1.9125694954194674,
1.8230740325455845,
1.7419838819592748
],
"display_name": "Ionization",
"width": 1.5
},
{
"type": "Line",
"uid": "20d44f5a-b810-424a-b3c8-544e55f4b259",
"visible": true,
"yAxis": null,
"hasClickAction": false,
"x": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20
],
"y": [
17.792358553521975,
10.222938929861165,
7.3326957162630535,
5.774849291480672,
4.790727916182921,
4.1086010758315865,
3.6059612912226324,
3.219114559015381,
2.9115350826729274,
2.6607158887114966,
2.452002467459636,
2.2754271467658227,
2.123965137464613,
1.9925177389113418,
1.8772912117454528,
1.7754022361452126,
1.684618830362136,
1.603185280569817,
1.5297008537781163,
1.463033909665766
],
"display_name": "Excitation",
"width": 1.5
},
{
"type": "Line",
"uid": "db86774f-5dc2-446d-b701-6bc138944bbd",
"visible": true,
"yAxis": null,
"hasClickAction": false,
"x": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20
],
"y": [
0.2176464775138542,
0.19610305533518133,
0.1856356198622018,
0.1790803635502792,
0.17447900946270897,
0.17103206790679298,
0.16833986055290148,
0.16617588299281968,
0.16440022978278446,
0.16292086323933466,
0.16167424321135648,
0.16061479706226076,
0.1597088109550154,
0.1589306961757854,
0.15826060708090073,
0.1576828658021728,
0.15718488818571694,
0.15675643198016223,
0.15638905841636294,
0.15607573878593212
],
"display_name": "ratio",
"width": 1.5
}
],
"constant_lines": [],
"constant_bands": [],
"rasters": [],
"texts": [],
"x_auto_range": true,
"x_lower_bound": 0,
"x_upper_bound": 0,
"log_x": false,
"x_log_base": 10,
"x_tickLabels_visible": true,
"y_tickLabels_visible": true,
"numberOfPoints": 20,
"outputPointsLimit": 1000000,
"outputPointsPreviewNumber": 10000,
"tips": {}
}
}
},
"33d0d147-b8a2-4e34-8e91-8222c7b83e1e": {
"model_name": "PlotModel",
"model_module": "beakerx",
"model_module_version": "*",
"state": {
"model": {
"type": "Plot",
"init_width": 640,
"init_height": 480,
"chart_title": null,
"show_legend": null,
"use_tool_tip": true,
"legend_position": {
"type": "LegendPosition",
"position": "TOP_RIGHT"
},
"legend_layout": "VERTICAL",
"custom_styles": [],
"element_styles": {},
"domain_axis_label": null,
"y_label": "",
"rangeAxes": [
{
"type": "YAxis",
"label": "",
"auto_range": true,
"auto_range_includes_zero": false,
"lower_margin": 0,
"upper_margin": 0,
"lower_bound": 0,
"upper_bound": 0,
"use_log": true,
"log_base": 10
}
],
"x_lower_margin": 0.05,
"x_upper_margin": 0.05,
"y_auto_range": true,
"y_auto_range_includes_zero": false,
"y_lower_margin": 0,
"y_upper_margin": 0,
"y_lower_bound": 0,
"y_upper_bound": 0,
"log_y": true,
"timezone": null,
"crosshair": null,
"omit_checkboxes": false,
"auto_zoom": false,
"graphics_list": [
{
"type": "Line",
"uid": "1b4d035f-06a3-43db-92ce-3c26a6ace411",
"visible": true,
"yAxis": null,
"hasClickAction": false,
"x": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20
],
"y": [
5.02429275896784,
2.530171361205116,
1.6951948914114314,
1.2770383950302346,
1.0259352866412699,
0.858449260755986,
0.7387776288143606,
0.6490045198119522,
0.5791709331267644,
0.5232988858568134,
0.47758292647168415,
0.43948540252301355,
0.4072490887234942,
0.3796185919582249,
0.3556731461324769,
0.33472208355517563,
0.3162371847149949,
0.29980757001605496,
0.28510883137312576,
0.2718814213299798
],
"display_name": "Elastic",
"width": 1.5
},
{
"type": "Line",
"uid": "c0eebae8-76f8-4638-b66c-c904373ef154",
"visible": true,
"yAxis": null,
"hasClickAction": false,
"x": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20
],
"y": [
23.084650008397315,
12.90225364862634,
9.131840606182061,
7.131091146527012,
5.879992612294952,
5.019229851233591,
4.38860782222281,
3.905527734370427,
3.522932625410561,
3.211982035033013,
2.9539827556040623,
2.7362696996880764,
2.5499475344425586,
2.3885794317439313,
2.2473889914415754,
2.122754947738674,
2.011880330005736,
1.9125694954194674,
1.8230740325455845,
1.7419838819592748
],
"display_name": "Ionization",
"width": 1.5
},
{
"type": "Line",
"uid": "dc154eec-31f3-4762-90c9-4b9a41ab47a9",
"visible": true,
"yAxis": null,
"hasClickAction": false,
"x": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20
],
"y": [
17.792358553521975,
10.222938929861165,
7.3326957162630535,
5.774849291480672,
4.790727916182921,
4.1086010758315865,
3.6059612912226324,
3.219114559015381,
2.9115350826729274,
2.6607158887114966,
2.452002467459636,
2.2754271467658227,
2.123965137464613,
1.9925177389113418,
1.8772912117454528,
1.7754022361452126,
1.684618830362136,
1.603185280569817,
1.5297008537781163,
1.463033909665766
],
"display_name": "Excitation",
"width": 1.5
},
{
"type": "Line",
"uid": "4d337b9d-c2b1-4f35-aa7c-08b805f97dbc",
"visible": true,
"yAxis": null,
"hasClickAction": false,
"x": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20
],
"y": [
0.2176464775138542,
0.19610305533518133,
0.1856356198622018,
0.1790803635502792,
0.17447900946270897,
0.17103206790679298,
0.16833986055290148,
0.16617588299281968,
0.16440022978278446,
0.16292086323933466,
0.16167424321135648,
0.16061479706226076,
0.1597088109550154,
0.1589306961757854,
0.15826060708090073,
0.1576828658021728,
0.15718488818571694,
0.15675643198016223,
0.15638905841636294,
0.15607573878593212
],
"display_name": "ratio",
"width": 1.5
}
],
"constant_lines": [],
"constant_bands": [],
"rasters": [],
"texts": [],
"x_auto_range": true,
"x_lower_bound": 0,
"x_upper_bound": 0,
"log_x": false,
"x_log_base": 10,
"x_tickLabels_visible": true,
"y_tickLabels_visible": true,
"numberOfPoints": 20,
"outputPointsLimit": 1000000,
"outputPointsPreviewNumber": 10000,
"tips": {}
}
}
},
"d77b3d5d-5994-497f-afb5-7d96cccae5fc": {
"model_name": "PlotModel",
"model_module": "beakerx",
"model_module_version": "*",
"state": {
"model": {
"type": "Plot",
"init_width": 640,
"init_height": 480,
"chart_title": null,
"show_legend": null,
"use_tool_tip": true,
"legend_position": {
"type": "LegendPosition",
"position": "TOP_RIGHT"
},
"legend_layout": "VERTICAL",
"custom_styles": [],
"element_styles": {},
"domain_axis_label": null,
"y_label": "",
"rangeAxes": [
{
"type": "YAxis",
"label": "",
"auto_range": true,
"auto_range_includes_zero": false,
"lower_margin": 0,
"upper_margin": 0,
"lower_bound": 0,
"upper_bound": 0,
"use_log": false,
"log_base": 10
}
],
"x_lower_margin": 0.05,
"x_upper_margin": 0.05,
"y_auto_range": true,
"y_auto_range_includes_zero": false,
"y_lower_margin": 0,
"y_upper_margin": 0,
"y_lower_bound": 0,
"y_upper_bound": 0,
"log_y": false,
"timezone": null,
"crosshair": null,
"omit_checkboxes": false,
"auto_zoom": false,
"graphics_list": [
{
"type": "Line",
"uid": "0955c224-3fcd-41f5-b2c2-12557f2e7789",
"visible": true,
"yAxis": null,
"hasClickAction": false,
"x": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20
],
"y": [
0.2176464775138542,
0.19610305533518133,
0.1856356198622018,
0.1790803635502792,
0.17447900946270897,
0.17103206790679298,
0.16833986055290148,
0.16617588299281968,
0.16440022978278446,
0.16292086323933466,
0.16167424321135648,
0.16061479706226076,
0.1597088109550154,
0.1589306961757854,
0.15826060708090073,
0.1576828658021728,
0.15718488818571694,
0.15675643198016223,
0.15638905841636294,
0.15607573878593212
],
"display_name": "ratio",
"width": 1.5
}
],
"constant_lines": [],
"constant_bands": [],
"rasters": [],
"texts": [],
"x_auto_range": true,
"x_lower_bound": 0,
"x_upper_bound": 0,
"log_x": false,
"x_log_base": 10,
"x_tickLabels_visible": true,
"y_tickLabels_visible": true,
"numberOfPoints": 20,
"outputPointsLimit": 1000000,
"outputPointsPreviewNumber": 10000,
"tips": {}
}
}
}
}
}
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment