|
553 | 553 | }
|
554 | 554 | ],
|
555 | 555 | "source": [
|
556 |
| - "analysis.get_raw_spectrum()" |
| 556 | + "analysis.get_raw_spectrum(show_plots=True)" |
557 | 557 | ]
|
558 | 558 | },
|
559 | 559 | {
|
|
581 | 581 | ],
|
582 | 582 | "source": [
|
583 | 583 | "# LC in plot below is normalized to initial time. \n",
|
584 |
| - "analysis.get_raw_lightcurve()" |
| 584 | + "analysis.get_raw_lightcurve(show_plots=True)" |
585 | 585 | ]
|
586 | 586 | },
|
587 | 587 | {
|
|
678 | 678 | ],
|
679 | 679 | "source": [
|
680 | 680 | "analysis = BinnedData(\"inputs.yaml\")\n",
|
681 |
| - "analysis.get_binned_data(unbinned_data=\"unbinned_data.hdf5\", output_name=\"binned_data\", make_binning_plots=True)" |
| 681 | + "analysis.get_binned_data(unbinned_data=\"unbinned_data.hdf5\", output_name=\"binned_data\", make_binning_plots=True, show_plots=True)" |
682 | 682 | ]
|
683 | 683 | },
|
684 | 684 | {
|
|
804 | 804 | }
|
805 | 805 | ],
|
806 | 806 | "source": [
|
807 |
| - "analysis.get_raw_spectrum(binned_data=\"binned_data.hdf5\", output_name=\"crab_spec\")\n", |
808 |
| - "analysis.get_raw_lightcurve(binned_data=\"binned_data.hdf5\", output_name=\"crab_lc\")" |
| 807 | + "analysis.get_raw_spectrum(binned_data=\"binned_data.hdf5\", output_name=\"crab_spec\", show_plots=True)\n", |
| 808 | + "analysis.get_raw_lightcurve(binned_data=\"binned_data.hdf5\", output_name=\"crab_lc\", show_plots=True)" |
809 | 809 | ]
|
810 | 810 | },
|
811 | 811 | {
|
|
928 | 928 | }
|
929 | 929 | ],
|
930 | 930 | "source": [
|
931 |
| - "analysis.get_raw_spectrum(binned_data=\"combined_binned_data.hdf5\", output_name=\"crab_spec_3x\")\n", |
932 |
| - "analysis.get_raw_lightcurve(binned_data=\"combined_binned_data.hdf5\", output_name=\"crab_lc_3x\")" |
| 931 | + "analysis.get_raw_spectrum(binned_data=\"combined_binned_data.hdf5\", output_name=\"crab_spec_3x\", show_plots=True)\n", |
| 932 | + "analysis.get_raw_lightcurve(binned_data=\"combined_binned_data.hdf5\", output_name=\"crab_lc_3x\", show_plots=True)" |
933 | 933 | ]
|
934 | 934 | },
|
935 | 935 | {
|
|
1162 | 1162 | }
|
1163 | 1163 | ],
|
1164 | 1164 | "source": [
|
1165 |
| - "analysis.get_raw_spectrum(binned_data=\"selected_combined_binned_data.hdf5\", output_name=\"selected_crab_spec_3x\")\n", |
1166 |
| - "analysis.get_raw_lightcurve(binned_data=\"selected_combined_binned_data.hdf5\", output_name=\"selected_crab_lc_3x\")" |
| 1165 | + "analysis.get_raw_spectrum(binned_data=\"selected_combined_binned_data.hdf5\", output_name=\"selected_crab_spec_3x\", show_plots=True)\n", |
| 1166 | + "analysis.get_raw_lightcurve(binned_data=\"selected_combined_binned_data.hdf5\", output_name=\"selected_crab_lc_3x\", show_plots=True)" |
1167 | 1167 | ]
|
1168 | 1168 | },
|
1169 | 1169 | {
|
|
1397 | 1397 | ],
|
1398 | 1398 | "source": [
|
1399 | 1399 | "analysis = BinnedData(\"inputs.yaml\")\n",
|
1400 |
| - "analysis.get_binned_data(unbinned_data=\"unbinned_data.hdf5\",event_range=[0,1e6],make_binning_plots=True)" |
| 1400 | + "analysis.get_binned_data(unbinned_data=\"unbinned_data.hdf5\",event_range=[0,1e6],make_binning_plots=True, show_plots=True)" |
1401 | 1401 | ]
|
1402 | 1402 | }
|
1403 | 1403 | ],
|
1404 | 1404 | "metadata": {
|
1405 | 1405 | "kernelspec": {
|
1406 |
| - "display_name": "Python [conda env:cosi_nomegalib]", |
| 1406 | + "display_name": "Python [conda env:COSIPY_new]", |
1407 | 1407 | "language": "python",
|
1408 |
| - "name": "conda-env-cosi_nomegalib-py" |
| 1408 | + "name": "conda-env-COSIPY_new-py" |
1409 | 1409 | },
|
1410 | 1410 | "language_info": {
|
1411 | 1411 | "codemirror_mode": {
|
|
1417 | 1417 | "name": "python",
|
1418 | 1418 | "nbconvert_exporter": "python",
|
1419 | 1419 | "pygments_lexer": "ipython3",
|
1420 |
| - "version": "3.9.6" |
| 1420 | + "version": "3.10.16" |
1421 | 1421 | }
|
1422 | 1422 | },
|
1423 | 1423 | "nbformat": 4,
|
|
0 commit comments