|
110 | 110 | }, |
111 | 111 | { |
112 | 112 | "cell_type": "raw", |
113 | | - "id": "7369e636", |
| 113 | + "id": "818c23c9", |
114 | 114 | "metadata": { |
115 | 115 | "raw_mimetype": "text/restructuredtext" |
116 | 116 | }, |
|
121 | 121 | { |
122 | 122 | "cell_type": "code", |
123 | 123 | "execution_count": null, |
124 | | - "id": "98dcbf39", |
| 124 | + "id": "18aee5c9", |
125 | 125 | "metadata": {}, |
126 | 126 | "outputs": [], |
127 | 127 | "source": [ |
|
336 | 336 | { |
337 | 337 | "cell_type": "code", |
338 | 338 | "execution_count": null, |
339 | | - "id": "0aad43b0", |
| 339 | + "id": "30c267ae4450663f", |
340 | 340 | "metadata": {}, |
341 | 341 | "outputs": [], |
342 | 342 | "source": [ |
343 | | - "unbiased.shape" |
| 343 | + "active = unbiased.active" |
344 | 344 | ] |
345 | 345 | }, |
346 | 346 | { |
347 | 347 | "cell_type": "code", |
348 | 348 | "execution_count": null, |
349 | | - "id": "30c267ae4450663f", |
| 349 | + "id": "0aad43b0", |
350 | 350 | "metadata": {}, |
351 | 351 | "outputs": [], |
352 | 352 | "source": [ |
353 | | - "active = unbiased.active" |
| 353 | + "unbiased.shape" |
354 | 354 | ] |
355 | 355 | }, |
356 | 356 | { |
|
390 | 390 | { |
391 | 391 | "cell_type": "code", |
392 | 392 | "execution_count": null, |
393 | | - "id": "c66f78b3", |
| 393 | + "id": "2ba62cc5", |
394 | 394 | "metadata": {}, |
395 | 395 | "outputs": [], |
396 | 396 | "source": [ |
397 | | - "active.outputs.mean(axis_txy).ndarray" |
| 397 | + "electrons = active.electrons" |
398 | 398 | ] |
399 | 399 | }, |
400 | 400 | { |
401 | 401 | "cell_type": "code", |
402 | 402 | "execution_count": null, |
403 | | - "id": "2ba62cc5", |
| 403 | + "id": "c66f78b3", |
404 | 404 | "metadata": {}, |
405 | 405 | "outputs": [], |
406 | 406 | "source": [ |
407 | | - "electrons = active.electrons" |
| 407 | + "active.outputs.mean(axis_txy).ndarray" |
408 | 408 | ] |
409 | 409 | }, |
410 | 410 | { |
|
417 | 417 | "electrons.outputs.mean(axis_txy).ndarray" |
418 | 418 | ] |
419 | 419 | }, |
| 420 | + { |
| 421 | + "cell_type": "raw", |
| 422 | + "id": "f7058cdf", |
| 423 | + "metadata": { |
| 424 | + "raw_mimetype": "text/restructuredtext" |
| 425 | + }, |
| 426 | + "source": [ |
| 427 | + "By printing the means of the `active` and `electrons` variables,\n", |
| 428 | + "we can see that the units are now in terms of electrons." |
| 429 | + ] |
| 430 | + }, |
420 | 431 | { |
421 | 432 | "cell_type": "raw", |
422 | 433 | "id": "dfe39c45", |
|
428 | 439 | "----------------\n", |
429 | 440 | "To calculate the master dark frame,\n", |
430 | 441 | "we'll remove the cosmic rays from the dark frames using the\n", |
431 | | - ":attr:`~esis.data.Level_0.despiked` property. \n", |
| 442 | + ":attr:`~esis.data.Level_0.despiked` property,\n", |
432 | 443 | "and then take the mean along the time axis." |
433 | 444 | ] |
434 | 445 | }, |
435 | 446 | { |
436 | 447 | "cell_type": "code", |
437 | 448 | "execution_count": null, |
438 | | - "id": "ae119c16", |
| 449 | + "id": "a449ef9e", |
439 | 450 | "metadata": {}, |
440 | 451 | "outputs": [], |
441 | 452 | "source": [ |
|
536 | 547 | }, |
537 | 548 | { |
538 | 549 | "cell_type": "raw", |
539 | | - "id": "af9d7f9b", |
| 550 | + "id": "585a78d7", |
540 | 551 | "metadata": { |
541 | 552 | "raw_mimetype": "text/restructuredtext" |
542 | 553 | }, |
|
547 | 558 | { |
548 | 559 | "cell_type": "code", |
549 | 560 | "execution_count": null, |
550 | | - "id": "114b63a8", |
| 561 | + "id": "08464613", |
551 | 562 | "metadata": {}, |
552 | 563 | "outputs": [], |
553 | 564 | "source": [ |
|
643 | 654 | }, |
644 | 655 | { |
645 | 656 | "cell_type": "raw", |
646 | | - "id": "b3106d95", |
| 657 | + "id": "00f7a57a", |
647 | 658 | "metadata": { |
648 | 659 | "raw_mimetype": "text/restructuredtext" |
649 | 660 | }, |
|
655 | 666 | { |
656 | 667 | "cell_type": "code", |
657 | 668 | "execution_count": null, |
658 | | - "id": "e2cd6e2f", |
| 669 | + "id": "99b18ed4", |
659 | 670 | "metadata": {}, |
660 | 671 | "outputs": [], |
661 | 672 | "source": [ |
|
718 | 729 | { |
719 | 730 | "cell_type": "code", |
720 | 731 | "execution_count": null, |
721 | | - "id": "cee0d8b6", |
| 732 | + "id": "f8d50a4d", |
722 | 733 | "metadata": {}, |
723 | 734 | "outputs": [], |
724 | 735 | "source": [ |
|
727 | 738 | }, |
728 | 739 | { |
729 | 740 | "cell_type": "raw", |
730 | | - "id": "a3b32bfc", |
| 741 | + "id": "ac8493ef", |
731 | 742 | "metadata": { |
732 | 743 | "raw_mimetype": "text/restructuredtext" |
733 | 744 | }, |
|
738 | 749 | { |
739 | 750 | "cell_type": "code", |
740 | 751 | "execution_count": null, |
741 | | - "id": "636f6651", |
| 752 | + "id": "fb4d5988", |
742 | 753 | "metadata": {}, |
743 | 754 | "outputs": [], |
744 | 755 | "source": [ |
|
756 | 767 | }, |
757 | 768 | { |
758 | 769 | "cell_type": "raw", |
759 | | - "id": "cf6bcf41", |
| 770 | + "id": "9d4a66db", |
760 | 771 | "metadata": { |
761 | 772 | "raw_mimetype": "text/restructuredtext" |
762 | 773 | }, |
|
769 | 780 | { |
770 | 781 | "cell_type": "code", |
771 | 782 | "execution_count": null, |
772 | | - "id": "4cacaeb0", |
| 783 | + "id": "67550b13", |
773 | 784 | "metadata": {}, |
774 | 785 | "outputs": [], |
775 | 786 | "source": [ |
|
779 | 790 | { |
780 | 791 | "cell_type": "code", |
781 | 792 | "execution_count": null, |
782 | | - "id": "f1b21e8c", |
| 793 | + "id": "51302e0b", |
783 | 794 | "metadata": {}, |
784 | 795 | "outputs": [], |
785 | 796 | "source": [ |
|
792 | 803 | }, |
793 | 804 | { |
794 | 805 | "cell_type": "raw", |
795 | | - "id": "9d0721c2", |
| 806 | + "id": "1cda4f3f", |
796 | 807 | "metadata": { |
797 | 808 | "raw_mimetype": "text/restructuredtext" |
798 | 809 | }, |
|
803 | 814 | }, |
804 | 815 | { |
805 | 816 | "cell_type": "raw", |
806 | | - "id": "e7ed326b", |
| 817 | + "id": "5e090187", |
807 | 818 | "metadata": { |
808 | 819 | "raw_mimetype": "text/restructuredtext" |
809 | 820 | }, |
|
815 | 826 | { |
816 | 827 | "cell_type": "code", |
817 | 828 | "execution_count": null, |
818 | | - "id": "08a02b21", |
| 829 | + "id": "baa1562d", |
819 | 830 | "metadata": {}, |
820 | 831 | "outputs": [], |
821 | 832 | "source": [ |
|
0 commit comments