From 5f8e6dbedfd87b044fb0f53908fe5010e0a9391b Mon Sep 17 00:00:00 2001 From: Thomas Mansencal Date: Wed, 7 Jun 2023 21:30:25 +1200 Subject: [PATCH] Fix incorrect "CO2" concentration scaling in `colour.phenomena.rayleigh.F_air_Bodhaine1999` definition. --- colour/phenomena/rayleigh.py | 857 +++++++++++----------- colour/phenomena/tests/test_rayleigh.py | 896 ++++++++++++------------ 2 files changed, 880 insertions(+), 873 deletions(-) diff --git a/colour/phenomena/rayleigh.py b/colour/phenomena/rayleigh.py index 181b6d37d1..020b374518 100644 --- a/colour/phenomena/rayleigh.py +++ b/colour/phenomena/rayleigh.py @@ -61,6 +61,7 @@ "scattering_cross_section", "rayleigh_optical_depth", "rayleigh_scattering", + "sd_rayleigh_scattering", ] CONSTANT_STANDARD_AIR_TEMPERATURE: float = 288.15 @@ -212,7 +213,10 @@ def air_refraction_index_Bodhaine1999( wl = as_float_array(wavelength) CO2_c = as_float_array(CO2_concentration) - n = (1 + 0.54 * ((CO2_c * 1e-6) - 300e-6)) * ( + # Converting from parts per million (ppm) to parts per volume (ppv). + CO2_c = CO2_c * 1e-6 + + n = (1 + 0.54 * (CO2_c - 300e-6)) * ( air_refraction_index_Peck1972(wl) - 1 ) + 1 @@ -400,13 +404,16 @@ def F_air_Bodhaine1999( Examples -------- >>> F_air_Bodhaine1999(0.555) # doctest: +ELLIPSIS - 1.1246916... + 1.0487697... """ O2 = O2_depolarisation(wavelength) N2 = N2_depolarisation(wavelength) CO2_c = as_float_array(CO2_concentration) + # Converting from parts per million (ppm) to parts per volume per percent. + CO2_c = CO2_c * 1e-4 + F_air = (78.084 * N2 + 20.946 * O2 + 0.934 * 1 + CO2_c * 1.15) / ( 78.084 + 20.946 + 0.934 + CO2_c ) @@ -589,7 +596,7 @@ def scattering_cross_section( Examples -------- >>> scattering_cross_section(555 * 10e-8) # doctest: +ELLIPSIS - 4.6613309...e-27 + 4.3466692...e-27 """ wl = as_float_array(wavelength) @@ -674,7 +681,7 @@ def rayleigh_optical_depth( Examples -------- >>> rayleigh_optical_depth(555 * 10e-8) # doctest: +ELLIPSIS - 0.1004070... + 0.0936290... """ wavelength = as_float_array(wavelength) @@ -758,427 +765,427 @@ def sd_rayleigh_scattering( >>> with numpy_print_options(suppress=True): ... sd_rayleigh_scattering() # doctest: +ELLIPSIS ... - SpectralDistribution([[ 360. , 0.5991013...], - [ 361. , 0.5921706...], - [ 362. , 0.5853410...], - [ 363. , 0.5786105...], - [ 364. , 0.5719774...], - [ 365. , 0.5654401...], - [ 366. , 0.5589968...], - [ 367. , 0.5526460...], - [ 368. , 0.5463860...], - [ 369. , 0.5402153...], - [ 370. , 0.5341322...], - [ 371. , 0.5281354...], - [ 372. , 0.5222234...], - [ 373. , 0.5163946...], - [ 374. , 0.5106476...], - [ 375. , 0.5049812...], - [ 376. , 0.4993939...], - [ 377. , 0.4938844...], - [ 378. , 0.4884513...], - [ 379. , 0.4830934...], - [ 380. , 0.4778095...], - [ 381. , 0.4725983...], - [ 382. , 0.4674585...], - [ 383. , 0.4623891...], - [ 384. , 0.4573889...], - [ 385. , 0.4524566...], - [ 386. , 0.4475912...], - [ 387. , 0.4427917...], - [ 388. , 0.4380568...], - [ 389. , 0.4333856...], - [ 390. , 0.4287771...], - [ 391. , 0.4242302...], - [ 392. , 0.4197439...], - [ 393. , 0.4153172...], - [ 394. , 0.4109493...], - [ 395. , 0.4066391...], - [ 396. , 0.4023857...], - [ 397. , 0.3981882...], - [ 398. , 0.3940458...], - [ 399. , 0.3899576...], - [ 400. , 0.3859227...], - [ 401. , 0.3819402...], - [ 402. , 0.3780094...], - [ 403. , 0.3741295...], - [ 404. , 0.3702996...], - [ 405. , 0.366519 ...], - [ 406. , 0.3627868...], - [ 407. , 0.3591025...], - [ 408. , 0.3554651...], - [ 409. , 0.3518740...], - [ 410. , 0.3483286...], - [ 411. , 0.344828 ...], - [ 412. , 0.3413716...], - [ 413. , 0.3379587...], - [ 414. , 0.3345887...], - [ 415. , 0.3312609...], - [ 416. , 0.3279747...], - [ 417. , 0.3247294...], - [ 418. , 0.3215245...], - [ 419. , 0.3183593...], - [ 420. , 0.3152332...], - [ 421. , 0.3121457...], - [ 422. , 0.3090962...], - [ 423. , 0.3060841...], - [ 424. , 0.3031088...], - [ 425. , 0.3001699...], - [ 426. , 0.2972668...], - [ 427. , 0.2943989...], - [ 428. , 0.2915657...], - [ 429. , 0.2887668...], - [ 430. , 0.2860017...], - [ 431. , 0.2832697...], - [ 432. , 0.2805706...], - [ 433. , 0.2779037...], - [ 434. , 0.2752687...], - [ 435. , 0.2726650...], - [ 436. , 0.2700922...], - [ 437. , 0.2675500...], - [ 438. , 0.2650377...], - [ 439. , 0.2625551...], - [ 440. , 0.2601016...], - [ 441. , 0.2576770...], - [ 442. , 0.2552807...], - [ 443. , 0.2529124...], - [ 444. , 0.2505716...], - [ 445. , 0.2482581...], - [ 446. , 0.2459713...], - [ 447. , 0.2437110...], - [ 448. , 0.2414768...], - [ 449. , 0.2392683...], - [ 450. , 0.2370851...], - [ 451. , 0.2349269...], - [ 452. , 0.2327933...], - [ 453. , 0.2306841...], - [ 454. , 0.2285989...], - [ 455. , 0.2265373...], - [ 456. , 0.2244990...], - [ 457. , 0.2224838...], - [ 458. , 0.2204912...], - [ 459. , 0.2185211...], - [ 460. , 0.2165730...], - [ 461. , 0.2146467...], - [ 462. , 0.2127419...], - [ 463. , 0.2108583...], - [ 464. , 0.2089957...], - [ 465. , 0.2071536...], - [ 466. , 0.2053320...], - [ 467. , 0.2035304...], - [ 468. , 0.2017487...], - [ 469. , 0.1999865...], - [ 470. , 0.1982436...], - [ 471. , 0.1965198...], - [ 472. , 0.1948148...], - [ 473. , 0.1931284...], - [ 474. , 0.1914602...], - [ 475. , 0.1898101...], - [ 476. , 0.1881779...], - [ 477. , 0.1865633...], - [ 478. , 0.1849660...], - [ 479. , 0.1833859...], - [ 480. , 0.1818227...], - [ 481. , 0.1802762...], - [ 482. , 0.1787463...], - [ 483. , 0.1772326...], - [ 484. , 0.1757349...], - [ 485. , 0.1742532...], - [ 486. , 0.1727871...], - [ 487. , 0.1713365...], - [ 488. , 0.1699011...], - [ 489. , 0.1684809...], - [ 490. , 0.1670755...], - [ 491. , 0.1656848...], - [ 492. , 0.1643086...], - [ 493. , 0.1629468...], - [ 494. , 0.1615991...], - [ 495. , 0.1602654...], - [ 496. , 0.1589455...], - [ 497. , 0.1576392...], - [ 498. , 0.1563464...], - [ 499. , 0.1550668...], - [ 500. , 0.1538004...], - [ 501. , 0.1525470...], - [ 502. , 0.1513063...], - [ 503. , 0.1500783...], - [ 504. , 0.1488628...], - [ 505. , 0.1476597...], - [ 506. , 0.1464687...], - [ 507. , 0.1452898...], - [ 508. , 0.1441228...], - [ 509. , 0.1429675...], - [ 510. , 0.1418238...], - [ 511. , 0.1406916...], - [ 512. , 0.1395707...], - [ 513. , 0.1384610...], - [ 514. , 0.1373624...], - [ 515. , 0.1362747...], - [ 516. , 0.1351978...], - [ 517. , 0.1341316...], - [ 518. , 0.1330759...], - [ 519. , 0.1320306...], - [ 520. , 0.1309956...], - [ 521. , 0.1299707...], - [ 522. , 0.1289559...], - [ 523. , 0.1279511...], - [ 524. , 0.1269560...], - [ 525. , 0.1259707...], - [ 526. , 0.1249949...], - [ 527. , 0.1240286...], - [ 528. , 0.1230717...], - [ 529. , 0.1221240...], - [ 530. , 0.1211855...], - [ 531. , 0.1202560...], - [ 532. , 0.1193354...], - [ 533. , 0.1184237...], - [ 534. , 0.1175207...], - [ 535. , 0.1166263...], - [ 536. , 0.1157404...], - [ 537. , 0.1148630...], - [ 538. , 0.1139939...], - [ 539. , 0.1131331...], - [ 540. , 0.1122804...], - [ 541. , 0.1114357...], - [ 542. , 0.1105990...], - [ 543. , 0.1097702...], - [ 544. , 0.1089492...], - [ 545. , 0.1081358...], - [ 546. , 0.1073301...], - [ 547. , 0.1065319...], - [ 548. , 0.1057411...], - [ 549. , 0.1049577...], - [ 550. , 0.1041815...], - [ 551. , 0.1034125...], - [ 552. , 0.1026507...], - [ 553. , 0.1018958...], - [ 554. , 0.1011480...], - [ 555. , 0.1004070...], - [ 556. , 0.0996728...], - [ 557. , 0.0989453...], - [ 558. , 0.0982245...], - [ 559. , 0.0975102...], - [ 560. , 0.0968025...], - [ 561. , 0.0961012...], - [ 562. , 0.0954062...], - [ 563. , 0.0947176...], - [ 564. , 0.0940352...], - [ 565. , 0.0933589...], - [ 566. , 0.0926887...], - [ 567. , 0.0920246...], - [ 568. , 0.0913664...], - [ 569. , 0.0907141...], - [ 570. , 0.0900677...], - [ 571. , 0.0894270...], - [ 572. , 0.0887920...], - [ 573. , 0.0881627...], - [ 574. , 0.0875389...], - [ 575. , 0.0869207...], - [ 576. , 0.0863079...], - [ 577. , 0.0857006...], - [ 578. , 0.0850986...], - [ 579. , 0.0845019...], - [ 580. , 0.0839104...], - [ 581. , 0.0833242...], - [ 582. , 0.0827430...], - [ 583. , 0.082167 ...], - [ 584. , 0.0815959...], - [ 585. , 0.0810298...], - [ 586. , 0.0804687...], - [ 587. , 0.0799124...], - [ 588. , 0.0793609...], - [ 589. , 0.0788142...], - [ 590. , 0.0782722...], - [ 591. , 0.0777349...], - [ 592. , 0.0772022...], - [ 593. , 0.0766740...], - [ 594. , 0.0761504...], - [ 595. , 0.0756313...], - [ 596. , 0.0751166...], - [ 597. , 0.0746063...], - [ 598. , 0.0741003...], - [ 599. , 0.0735986...], - [ 600. , 0.0731012...], - [ 601. , 0.072608 ...], - [ 602. , 0.0721189...], - [ 603. , 0.0716340...], - [ 604. , 0.0711531...], - [ 605. , 0.0706763...], - [ 606. , 0.0702035...], - [ 607. , 0.0697347...], - [ 608. , 0.0692697...], - [ 609. , 0.0688087...], - [ 610. , 0.0683515...], - [ 611. , 0.0678981...], - [ 612. , 0.0674485...], - [ 613. , 0.0670026...], - [ 614. , 0.0665603...], - [ 615. , 0.0661218...], - [ 616. , 0.0656868...], - [ 617. , 0.0652555...], - [ 618. , 0.0648277...], - [ 619. , 0.0644033...], - [ 620. , 0.0639825...], - [ 621. , 0.0635651...], - [ 622. , 0.0631512...], - [ 623. , 0.0627406...], - [ 624. , 0.0623333...], - [ 625. , 0.0619293...], - [ 626. , 0.0615287...], - [ 627. , 0.0611312...], - [ 628. , 0.0607370...], - [ 629. , 0.0603460...], - [ 630. , 0.0599581...], - [ 631. , 0.0595733...], - [ 632. , 0.0591917...], - [ 633. , 0.0588131...], - [ 634. , 0.0584375...], - [ 635. , 0.0580649...], - [ 636. , 0.0576953...], - [ 637. , 0.0573286...], - [ 638. , 0.0569649...], - [ 639. , 0.0566040...], - [ 640. , 0.0562460...], - [ 641. , 0.0558909...], - [ 642. , 0.0555385...], - [ 643. , 0.0551890...], - [ 644. , 0.0548421...], - [ 645. , 0.0544981...], - [ 646. , 0.0541567...], - [ 647. , 0.053818 ...], - [ 648. , 0.0534819...], - [ 649. , 0.0531485...], - [ 650. , 0.0528176...], - [ 651. , 0.0524894...], - [ 652. , 0.0521637...], - [ 653. , 0.0518405...], - [ 654. , 0.0515198...], - [ 655. , 0.0512017...], - [ 656. , 0.0508859...], - [ 657. , 0.0505726...], - [ 658. , 0.0502618...], - [ 659. , 0.0499533...], - [ 660. , 0.0496472...], - [ 661. , 0.0493434...], - [ 662. , 0.0490420...], - [ 663. , 0.0487428...], - [ 664. , 0.0484460...], - [ 665. , 0.0481514...], - [ 666. , 0.0478591...], - [ 667. , 0.0475689...], - [ 668. , 0.0472810...], - [ 669. , 0.0469953...], - [ 670. , 0.0467117...], - [ 671. , 0.0464302...], - [ 672. , 0.0461509...], - [ 673. , 0.0458737...], - [ 674. , 0.0455986...], - [ 675. , 0.0453255...], - [ 676. , 0.0450545...], - [ 677. , 0.0447855...], - [ 678. , 0.0445185...], - [ 679. , 0.0442535...], - [ 680. , 0.0439905...], - [ 681. , 0.0437294...], - [ 682. , 0.0434703...], - [ 683. , 0.0432131...], - [ 684. , 0.0429578...], - [ 685. , 0.0427044...], - [ 686. , 0.0424529...], - [ 687. , 0.0422032...], - [ 688. , 0.0419553...], - [ 689. , 0.0417093...], - [ 690. , 0.0414651...], - [ 691. , 0.0412226...], - [ 692. , 0.0409820...], - [ 693. , 0.0407431...], - [ 694. , 0.0405059...], - [ 695. , 0.0402705...], - [ 696. , 0.0400368...], - [ 697. , 0.0398047...], - [ 698. , 0.0395744...], - [ 699. , 0.0393457...], - [ 700. , 0.0391187...], - [ 701. , 0.0388933...], - [ 702. , 0.0386696...], - [ 703. , 0.0384474...], - [ 704. , 0.0382269...], - [ 705. , 0.0380079...], - [ 706. , 0.0377905...], - [ 707. , 0.0375747...], - [ 708. , 0.0373604...], - [ 709. , 0.0371476...], - [ 710. , 0.0369364...], - [ 711. , 0.0367266...], - [ 712. , 0.0365184...], - [ 713. , 0.0363116...], - [ 714. , 0.0361063...], - [ 715. , 0.0359024...], - [ 716. , 0.0357000...], - [ 717. , 0.0354990...], - [ 718. , 0.0352994...], - [ 719. , 0.0351012...], - [ 720. , 0.0349044...], - [ 721. , 0.0347090...], - [ 722. , 0.0345150...], - [ 723. , 0.0343223...], - [ 724. , 0.0341310...], - [ 725. , 0.0339410...], - [ 726. , 0.0337523...], - [ 727. , 0.033565 ...], - [ 728. , 0.0333789...], - [ 729. , 0.0331941...], - [ 730. , 0.0330106...], - [ 731. , 0.0328284...], - [ 732. , 0.0326474...], - [ 733. , 0.0324677...], - [ 734. , 0.0322893...], - [ 735. , 0.0321120...], - [ 736. , 0.0319360...], - [ 737. , 0.0317611...], - [ 738. , 0.0315875...], - [ 739. , 0.0314151...], - [ 740. , 0.0312438...], - [ 741. , 0.0310737...], - [ 742. , 0.0309048...], - [ 743. , 0.0307370...], - [ 744. , 0.0305703...], - [ 745. , 0.0304048...], - [ 746. , 0.0302404...], - [ 747. , 0.0300771...], - [ 748. , 0.0299149...], - [ 749. , 0.0297538...], - [ 750. , 0.0295938...], - [ 751. , 0.0294349...], - [ 752. , 0.0292771...], - [ 753. , 0.0291203...], - [ 754. , 0.0289645...], - [ 755. , 0.0288098...], - [ 756. , 0.0286561...], - [ 757. , 0.0285035...], - [ 758. , 0.0283518...], - [ 759. , 0.0282012...], - [ 760. , 0.0280516...], - [ 761. , 0.0279030...], - [ 762. , 0.0277553...], - [ 763. , 0.0276086...], - [ 764. , 0.027463 ...], - [ 765. , 0.0273182...], - [ 766. , 0.0271744...], - [ 767. , 0.0270316...], - [ 768. , 0.0268897...], - [ 769. , 0.0267487...], - [ 770. , 0.0266087...], - [ 771. , 0.0264696...], - [ 772. , 0.0263314...], - [ 773. , 0.0261941...], - [ 774. , 0.0260576...], - [ 775. , 0.0259221...], - [ 776. , 0.0257875...], - [ 777. , 0.0256537...], - [ 778. , 0.0255208...], - [ 779. , 0.0253888...], - [ 780. , 0.0252576...]], + SpectralDistribution([[ 360. , 0.5602465...], + [ 361. , 0.5537481...], + [ 362. , 0.5473446...], + [ 363. , 0.5410345...], + [ 364. , 0.5348161...], + [ 365. , 0.5286877...], + [ 366. , 0.5226477...], + [ 367. , 0.5166948...], + [ 368. , 0.5108272...], + [ 369. , 0.5050436...], + [ 370. , 0.4993425...], + [ 371. , 0.4937224...], + [ 372. , 0.4881820...], + [ 373. , 0.4827199...], + [ 374. , 0.4773348...], + [ 375. , 0.4720253...], + [ 376. , 0.4667902...], + [ 377. , 0.4616282...], + [ 378. , 0.4565380...], + [ 379. , 0.4515186...], + [ 380. , 0.4465686...], + [ 381. , 0.4416869...], + [ 382. , 0.4368724...], + [ 383. , 0.4321240...], + [ 384. , 0.4274405...], + [ 385. , 0.4228209...], + [ 386. , 0.4182641...], + [ 387. , 0.4137692...], + [ 388. , 0.4093350...], + [ 389. , 0.4049607...], + [ 390. , 0.4006451...], + [ 391. , 0.3963874...], + [ 392. , 0.3921867...], + [ 393. , 0.3880419...], + [ 394. , 0.3839523...], + [ 395. , 0.3799169...], + [ 396. , 0.3759348...], + [ 397. , 0.3720053...], + [ 398. , 0.3681274...], + [ 399. , 0.3643003...], + [ 400. , 0.3605233...], + [ 401. , 0.3567956...], + [ 402. , 0.3531163...], + [ 403. , 0.3494847...], + [ 404. , 0.3459001...], + [ 405. , 0.3423617...], + [ 406. , 0.3388689...], + [ 407. , 0.3354208...], + [ 408. , 0.3320169...], + [ 409. , 0.3286563...], + [ 410. , 0.3253386...], + [ 411. , 0.3220629...], + [ 412. , 0.3188287...], + [ 413. , 0.3156354...], + [ 414. , 0.3124822...], + [ 415. , 0.3093687...], + [ 416. , 0.3062941...], + [ 417. , 0.3032579...], + [ 418. , 0.3002596...], + [ 419. , 0.2972985...], + [ 420. , 0.2943741...], + [ 421. , 0.2914858...], + [ 422. , 0.2886332...], + [ 423. , 0.2858157...], + [ 424. , 0.2830327...], + [ 425. , 0.2802837...], + [ 426. , 0.2775683...], + [ 427. , 0.2748860...], + [ 428. , 0.2722362...], + [ 429. , 0.2696185...], + [ 430. , 0.2670324...], + [ 431. , 0.2644775...], + [ 432. , 0.2619533...], + [ 433. , 0.2594594...], + [ 434. , 0.2569952...], + [ 435. , 0.2545605...], + [ 436. , 0.2521548...], + [ 437. , 0.2497776...], + [ 438. , 0.2474285...], + [ 439. , 0.2451072...], + [ 440. , 0.2428133...], + [ 441. , 0.2405463...], + [ 442. , 0.2383059...], + [ 443. , 0.2360916...], + [ 444. , 0.2339033...], + [ 445. , 0.2317404...], + [ 446. , 0.2296026...], + [ 447. , 0.2274895...], + [ 448. , 0.2254009...], + [ 449. , 0.2233364...], + [ 450. , 0.2212956...], + [ 451. , 0.2192782...], + [ 452. , 0.2172839...], + [ 453. , 0.2153124...], + [ 454. , 0.2133633...], + [ 455. , 0.2114364...], + [ 456. , 0.2095313...], + [ 457. , 0.2076478...], + [ 458. , 0.2057855...], + [ 459. , 0.2039442...], + [ 460. , 0.2021235...], + [ 461. , 0.2003233...], + [ 462. , 0.1985432...], + [ 463. , 0.1967829...], + [ 464. , 0.1950423...], + [ 465. , 0.1933209...], + [ 466. , 0.1916186...], + [ 467. , 0.1899351...], + [ 468. , 0.1882702...], + [ 469. , 0.1866236...], + [ 470. , 0.1849951...], + [ 471. , 0.1833844...], + [ 472. , 0.1817913...], + [ 473. , 0.1802156...], + [ 474. , 0.1786570...], + [ 475. , 0.1771153...], + [ 476. , 0.1755903...], + [ 477. , 0.1740818...], + [ 478. , 0.1725895...], + [ 479. , 0.1711133...], + [ 480. , 0.1696529...], + [ 481. , 0.1682082...], + [ 482. , 0.1667789...], + [ 483. , 0.1653648...], + [ 484. , 0.1639658...], + [ 485. , 0.1625816...], + [ 486. , 0.1612121...], + [ 487. , 0.1598570...], + [ 488. , 0.1585163...], + [ 489. , 0.1571896...], + [ 490. , 0.1558769...], + [ 491. , 0.1545779...], + [ 492. , 0.1532925...], + [ 493. , 0.1520205...], + [ 494. , 0.1507617...], + [ 495. , 0.1495160...], + [ 496. , 0.1482832...], + [ 497. , 0.1470632...], + [ 498. , 0.1458558...], + [ 499. , 0.1446607...], + [ 500. , 0.1434780...], + [ 501. , 0.1423074...], + [ 502. , 0.1411488...], + [ 503. , 0.140002 ...], + [ 504. , 0.1388668...], + [ 505. , 0.1377433...], + [ 506. , 0.1366311...], + [ 507. , 0.1355301...], + [ 508. , 0.1344403...], + [ 509. , 0.1333615...], + [ 510. , 0.1322936...], + [ 511. , 0.1312363...], + [ 512. , 0.1301897...], + [ 513. , 0.1291535...], + [ 514. , 0.1281277...], + [ 515. , 0.1271121...], + [ 516. , 0.1261065...], + [ 517. , 0.1251110...], + [ 518. , 0.1241253...], + [ 519. , 0.1231493...], + [ 520. , 0.1221829...], + [ 521. , 0.1212261...], + [ 522. , 0.1202786...], + [ 523. , 0.1193405...], + [ 524. , 0.1184115...], + [ 525. , 0.1174915...], + [ 526. , 0.1165806...], + [ 527. , 0.1156784...], + [ 528. , 0.1147851...], + [ 529. , 0.1139004...], + [ 530. , 0.1130242...], + [ 531. , 0.1121564...], + [ 532. , 0.1112971...], + [ 533. , 0.1104459...], + [ 534. , 0.1096030...], + [ 535. , 0.1087681...], + [ 536. , 0.1079411...], + [ 537. , 0.1071221...], + [ 538. , 0.1063108...], + [ 539. , 0.1055072...], + [ 540. , 0.1047113...], + [ 541. , 0.1039229...], + [ 542. , 0.1031419...], + [ 543. , 0.1023682...], + [ 544. , 0.1016019...], + [ 545. , 0.1008427...], + [ 546. , 0.1000906...], + [ 547. , 0.0993456...], + [ 548. , 0.0986075...], + [ 549. , 0.0978763...], + [ 550. , 0.0971519...], + [ 551. , 0.0964342...], + [ 552. , 0.0957231...], + [ 553. , 0.0950186...], + [ 554. , 0.0943206...], + [ 555. , 0.0936290...], + [ 556. , 0.0929438...], + [ 557. , 0.0922649...], + [ 558. , 0.0915922...], + [ 559. , 0.0909256...], + [ 560. , 0.0902651...], + [ 561. , 0.0896106...], + [ 562. , 0.0889620...], + [ 563. , 0.0883194...], + [ 564. , 0.0876825...], + [ 565. , 0.0870514...], + [ 566. , 0.0864260...], + [ 567. , 0.0858063...], + [ 568. , 0.0851921...], + [ 569. , 0.0845834...], + [ 570. , 0.0839801...], + [ 571. , 0.0833822...], + [ 572. , 0.0827897...], + [ 573. , 0.0822025...], + [ 574. , 0.0816204...], + [ 575. , 0.0810436...], + [ 576. , 0.0804718...], + [ 577. , 0.0799051...], + [ 578. , 0.0793434...], + [ 579. , 0.0787866...], + [ 580. , 0.0782347...], + [ 581. , 0.0776877...], + [ 582. , 0.0771454...], + [ 583. , 0.0766079...], + [ 584. , 0.0760751...], + [ 585. , 0.0755469...], + [ 586. , 0.0750234...], + [ 587. , 0.0745043...], + [ 588. , 0.0739898...], + [ 589. , 0.0734797...], + [ 590. , 0.0729740...], + [ 591. , 0.0724727...], + [ 592. , 0.0719757...], + [ 593. , 0.0714830...], + [ 594. , 0.0709944...], + [ 595. , 0.0705101...], + [ 596. , 0.0700299...], + [ 597. , 0.0695538...], + [ 598. , 0.0690818...], + [ 599. , 0.0686137...], + [ 600. , 0.0681497...], + [ 601. , 0.0676895...], + [ 602. , 0.0672333...], + [ 603. , 0.0667809...], + [ 604. , 0.0663323...], + [ 605. , 0.0658875...], + [ 606. , 0.0654464...], + [ 607. , 0.0650091...], + [ 608. , 0.0645753...], + [ 609. , 0.0641453...], + [ 610. , 0.0637187...], + [ 611. , 0.0632958...], + [ 612. , 0.0628764...], + [ 613. , 0.0624604...], + [ 614. , 0.0620479...], + [ 615. , 0.0616388...], + [ 616. , 0.0612331...], + [ 617. , 0.0608307...], + [ 618. , 0.0604316...], + [ 619. , 0.0600358...], + [ 620. , 0.0596433...], + [ 621. , 0.0592539...], + [ 622. , 0.0588678...], + [ 623. , 0.0584848...], + [ 624. , 0.0581049...], + [ 625. , 0.0577281...], + [ 626. , 0.0573544...], + [ 627. , 0.0569837...], + [ 628. , 0.0566160...], + [ 629. , 0.0562513...], + [ 630. , 0.0558895...], + [ 631. , 0.0555306...], + [ 632. , 0.0551746...], + [ 633. , 0.0548215...], + [ 634. , 0.0544712...], + [ 635. , 0.0541237...], + [ 636. , 0.0537789...], + [ 637. , 0.0534369...], + [ 638. , 0.0530977...], + [ 639. , 0.0527611...], + [ 640. , 0.0524272...], + [ 641. , 0.0520960...], + [ 642. , 0.0517674...], + [ 643. , 0.0514413...], + [ 644. , 0.0511179...], + [ 645. , 0.0507970...], + [ 646. , 0.0504786...], + [ 647. , 0.0501627...], + [ 648. , 0.0498493...], + [ 649. , 0.0495383...], + [ 650. , 0.0492298...], + [ 651. , 0.0489236...], + [ 652. , 0.0486199...], + [ 653. , 0.0483185...], + [ 654. , 0.0480194...], + [ 655. , 0.0477227...], + [ 656. , 0.0474283...], + [ 657. , 0.0471361...], + [ 658. , 0.0468462...], + [ 659. , 0.0465585...], + [ 660. , 0.0462730...], + [ 661. , 0.0459898...], + [ 662. , 0.0457087...], + [ 663. , 0.0454297...], + [ 664. , 0.0451529...], + [ 665. , 0.0448782...], + [ 666. , 0.0446055...], + [ 667. , 0.0443350...], + [ 668. , 0.0440665...], + [ 669. , 0.0438000...], + [ 670. , 0.0435356...], + [ 671. , 0.0432731...], + [ 672. , 0.0430127...], + [ 673. , 0.0427542...], + [ 674. , 0.0424976...], + [ 675. , 0.0422430...], + [ 676. , 0.0419902...], + [ 677. , 0.0417394...], + [ 678. , 0.0414905...], + [ 679. , 0.0412434...], + [ 680. , 0.0409981...], + [ 681. , 0.0407547...], + [ 682. , 0.0405131...], + [ 683. , 0.0402732...], + [ 684. , 0.0400352...], + [ 685. , 0.0397989...], + [ 686. , 0.0395643...], + [ 687. , 0.0393315...], + [ 688. , 0.0391004...], + [ 689. , 0.0388710...], + [ 690. , 0.0386433...], + [ 691. , 0.0384173...], + [ 692. , 0.0381929...], + [ 693. , 0.0379701...], + [ 694. , 0.0377490...], + [ 695. , 0.0375295...], + [ 696. , 0.0373115...], + [ 697. , 0.0370952...], + [ 698. , 0.0368804...], + [ 699. , 0.0366672...], + [ 700. , 0.0364556...], + [ 701. , 0.0362454...], + [ 702. , 0.0360368...], + [ 703. , 0.0358297...], + [ 704. , 0.0356241...], + [ 705. , 0.0354199...], + [ 706. , 0.0352172...], + [ 707. , 0.0350160...], + [ 708. , 0.0348162...], + [ 709. , 0.0346178...], + [ 710. , 0.0344208...], + [ 711. , 0.0342253...], + [ 712. , 0.0340311...], + [ 713. , 0.0338383...], + [ 714. , 0.0336469...], + [ 715. , 0.0334569...], + [ 716. , 0.0332681...], + [ 717. , 0.0330807...], + [ 718. , 0.0328947...], + [ 719. , 0.0327099...], + [ 720. , 0.0325264...], + [ 721. , 0.0323443...], + [ 722. , 0.0321634...], + [ 723. , 0.0319837...], + [ 724. , 0.0318054...], + [ 725. , 0.0316282...], + [ 726. , 0.0314523...], + [ 727. , 0.0312777...], + [ 728. , 0.0311042...], + [ 729. , 0.0309319...], + [ 730. , 0.0307609...], + [ 731. , 0.0305910...], + [ 732. , 0.0304223...], + [ 733. , 0.0302548...], + [ 734. , 0.0300884...], + [ 735. , 0.0299231...], + [ 736. , 0.0297590...], + [ 737. , 0.0295960...], + [ 738. , 0.0294342...], + [ 739. , 0.0292734...], + [ 740. , 0.0291138...], + [ 741. , 0.0289552...], + [ 742. , 0.0287977...], + [ 743. , 0.0286413...], + [ 744. , 0.0284859...], + [ 745. , 0.0283316...], + [ 746. , 0.0281784...], + [ 747. , 0.0280262...], + [ 748. , 0.0278750...], + [ 749. , 0.0277248...], + [ 750. , 0.0275757...], + [ 751. , 0.0274275...], + [ 752. , 0.0272804...], + [ 753. , 0.0271342...], + [ 754. , 0.0269890...], + [ 755. , 0.0268448...], + [ 756. , 0.0267015...], + [ 757. , 0.0265592...], + [ 758. , 0.0264179...], + [ 759. , 0.0262775...], + [ 760. , 0.0261380...], + [ 761. , 0.0259995...], + [ 762. , 0.0258618...], + [ 763. , 0.0257251...], + [ 764. , 0.0255893...], + [ 765. , 0.0254544...], + [ 766. , 0.0253204...], + [ 767. , 0.0251872...], + [ 768. , 0.0250550...], + [ 769. , 0.0249236...], + [ 770. , 0.0247930...], + [ 771. , 0.0246633...], + [ 772. , 0.0245345...], + [ 773. , 0.0244065...], + [ 774. , 0.0242794...], + [ 775. , 0.0241530...], + [ 776. , 0.0240275...], + [ 777. , 0.0239029...], + [ 778. , 0.0237790...], + [ 779. , 0.0236559...], + [ 780. , 0.0235336...]], SpragueInterpolator, {}, Extrapolator, diff --git a/colour/phenomena/tests/test_rayleigh.py b/colour/phenomena/tests/test_rayleigh.py index fc2a4aed1d..c759e7e8ee 100644 --- a/colour/phenomena/tests/test_rayleigh.py +++ b/colour/phenomena/tests/test_rayleigh.py @@ -56,427 +56,427 @@ ] DATA_SD_RAYLEIGH_SCATTERING: tuple = ( - 0.59910134, - 0.59217069, - 0.58534101, - 0.57861051, - 0.57197745, - 0.56544013, - 0.55899687, - 0.55264605, - 0.54638605, - 0.54021531, - 0.53413228, - 0.52813547, - 0.52222340, - 0.51639461, - 0.51064769, - 0.50498125, - 0.49939393, - 0.49388440, - 0.48845134, - 0.48309347, - 0.47780954, - 0.47259832, - 0.46745859, - 0.46238917, - 0.45738890, - 0.45245664, - 0.44759127, - 0.44279170, - 0.43805685, - 0.43338567, - 0.42877712, - 0.42423020, - 0.41974390, - 0.41531726, - 0.41094930, - 0.40663910, - 0.40238573, - 0.39818829, - 0.39404589, - 0.38995765, - 0.38592273, - 0.38194029, - 0.37800949, - 0.37412954, - 0.37029964, - 0.36651900, - 0.36278687, - 0.35910250, - 0.35546514, - 0.35187408, - 0.34832860, - 0.34482800, - 0.34137161, - 0.33795874, - 0.33458873, - 0.33126094, - 0.32797472, - 0.32472946, - 0.32152453, - 0.31835934, - 0.31523328, - 0.31214577, - 0.30909624, - 0.30608413, - 0.30310889, - 0.30016996, - 0.29726682, - 0.29439893, - 0.29156579, - 0.28876688, - 0.28600171, - 0.28326979, - 0.28057063, - 0.27790377, - 0.27526872, - 0.27266505, - 0.27009229, - 0.26755001, - 0.26503777, - 0.26255513, - 0.26010169, - 0.25767703, - 0.25528074, - 0.25291242, - 0.25057168, - 0.24825813, - 0.24597138, - 0.24371107, - 0.24147683, - 0.23926830, - 0.23708511, - 0.23492692, - 0.23279339, - 0.23068417, - 0.22859893, - 0.22653734, - 0.22449907, - 0.22248382, - 0.22049127, - 0.21852111, - 0.21657303, - 0.21464674, - 0.21274195, - 0.21085836, - 0.20899570, - 0.20715367, - 0.20533201, - 0.20353045, - 0.20174871, - 0.19998654, - 0.19824368, - 0.19651987, - 0.19481486, - 0.19312840, - 0.19146025, - 0.18981018, - 0.18817794, - 0.18656331, - 0.18496605, - 0.18338593, - 0.18182275, - 0.18027628, - 0.17874630, - 0.17723261, - 0.17573499, - 0.17425324, - 0.17278715, - 0.17133653, - 0.16990119, - 0.16848091, - 0.16707553, - 0.16568484, - 0.16430867, - 0.16294683, - 0.16159914, - 0.16026543, - 0.15894551, - 0.15763923, - 0.15634640, - 0.15506686, - 0.15380046, - 0.15254701, - 0.15130638, - 0.15007839, - 0.14886289, - 0.14765974, - 0.14646877, - 0.14528984, - 0.14412281, - 0.14296753, - 0.14182386, - 0.14069165, - 0.13957077, - 0.13846109, - 0.13736246, - 0.13627476, - 0.13519785, - 0.13413161, - 0.13307590, - 0.13203061, - 0.13099561, - 0.12997078, - 0.12895599, - 0.12795114, - 0.12695609, - 0.12597074, - 0.12499498, - 0.12402869, - 0.12307176, - 0.12212407, - 0.12118554, - 0.12025604, - 0.11933547, - 0.11842374, - 0.11752073, - 0.11662635, - 0.11574049, - 0.11486307, - 0.11399398, - 0.11313313, - 0.11228043, - 0.11143577, - 0.11059908, - 0.10977026, - 0.10894922, - 0.10813587, - 0.10733013, - 0.10653191, - 0.10574113, - 0.10495770, - 0.10418154, - 0.10341257, - 0.10265072, - 0.10189589, - 0.10114802, - 0.10040702, - 0.09967282, - 0.09894535, - 0.09822452, - 0.09751028, - 0.09680254, - 0.09610123, - 0.09540629, - 0.09471764, - 0.09403522, - 0.09335896, - 0.09268878, - 0.09202464, - 0.09136645, - 0.09071416, - 0.09006770, - 0.08942701, - 0.08879203, - 0.08816270, - 0.08753895, - 0.08692073, - 0.08630797, - 0.08570063, - 0.08509864, - 0.08450194, - 0.08391049, - 0.08332421, - 0.08274307, - 0.08216700, - 0.08159596, - 0.08102988, - 0.08046872, - 0.07991243, - 0.07936096, - 0.07881425, - 0.07827225, - 0.07773493, - 0.07720222, - 0.07667408, - 0.07615047, - 0.07563133, - 0.07511663, - 0.07460631, - 0.07410033, - 0.07359865, - 0.07310122, - 0.07260800, - 0.07211894, - 0.07163402, - 0.07115317, - 0.07067636, - 0.07020356, - 0.06973471, - 0.06926979, - 0.06880874, - 0.06835154, - 0.06789814, - 0.06744851, - 0.06700260, - 0.06656038, - 0.06612182, - 0.06568688, - 0.06525551, - 0.06482770, - 0.06440339, - 0.06398256, - 0.06356518, - 0.06315120, - 0.06274060, - 0.06233333, - 0.06192938, - 0.06152871, - 0.06113128, - 0.06073706, - 0.06034603, - 0.05995814, - 0.05957338, - 0.05919171, - 0.05881310, - 0.05843752, - 0.05806494, - 0.05769534, - 0.05732868, - 0.05696494, - 0.05660408, - 0.05624609, - 0.05589093, - 0.05553858, - 0.05518901, - 0.05484219, - 0.05449810, - 0.05415671, - 0.05381800, - 0.05348194, - 0.05314851, - 0.05281768, - 0.05248942, - 0.05216372, - 0.05184055, - 0.05151988, - 0.05120170, - 0.05088598, - 0.05057269, - 0.05026182, - 0.04995333, - 0.04964722, - 0.04934346, - 0.04904202, - 0.04874288, - 0.04844603, - 0.04815144, - 0.04785910, - 0.04756897, - 0.04728105, - 0.04699530, - 0.04671172, - 0.04643028, - 0.04615096, - 0.04587374, - 0.04559861, - 0.04532554, - 0.04505452, - 0.04478553, - 0.04451855, - 0.04425355, - 0.04399054, - 0.04372947, - 0.04347035, - 0.04321315, - 0.04295785, - 0.04270444, - 0.04245290, - 0.04220321, - 0.04195537, - 0.04170934, - 0.04146512, - 0.04122268, - 0.04098202, - 0.04074312, - 0.04050596, - 0.04027053, - 0.04003681, - 0.03980479, - 0.03957445, - 0.03934578, - 0.03911876, - 0.03889338, - 0.03866963, - 0.03844748, - 0.03822694, - 0.03800797, - 0.03779058, - 0.03757474, - 0.03736044, - 0.03714767, - 0.03693642, - 0.03672667, - 0.03651841, - 0.03631163, - 0.03610632, - 0.03590245, - 0.03570003, - 0.03549903, - 0.03529945, - 0.03510128, - 0.03490449, - 0.03470909, - 0.03451505, - 0.03432237, - 0.03413104, - 0.03394104, - 0.03375237, - 0.03356500, - 0.03337894, - 0.03319417, - 0.03301068, - 0.03282846, - 0.03264749, - 0.03246778, - 0.03228930, - 0.03211204, - 0.03193601, - 0.03176118, - 0.03158755, - 0.03141511, - 0.03124385, - 0.03107375, - 0.03090481, - 0.03073702, - 0.03057037, - 0.03040485, - 0.03024045, - 0.03007717, - 0.02991498, - 0.02975389, - 0.02959389, - 0.02943496, - 0.02927710, - 0.02912030, - 0.02896455, - 0.02880984, - 0.02865616, - 0.02850351, - 0.02835188, - 0.02820126, - 0.02805164, - 0.02790301, - 0.02775536, - 0.02760869, - 0.02746300, - 0.02731826, - 0.02717448, - 0.02703164, - 0.02688975, - 0.02674878, - 0.02660874, - 0.02646962, - 0.02633141, - 0.02619410, - 0.02605768, - 0.02592215, - 0.02578751, - 0.02565374, - 0.02552084, - 0.02538880, - 0.02525761, + 0.56024658, + 0.55374814, + 0.54734469, + 0.54103456, + 0.53481611, + 0.52868771, + 0.52264779, + 0.51669481, + 0.51082726, + 0.50504364, + 0.49934250, + 0.49372243, + 0.48818203, + 0.48271993, + 0.47733480, + 0.47202532, + 0.46679021, + 0.46162820, + 0.45653807, + 0.45151861, + 0.44656862, + 0.44168694, + 0.43687245, + 0.43212401, + 0.42744053, + 0.42282094, + 0.41826419, + 0.41376924, + 0.40933507, + 0.40496071, + 0.40064516, + 0.39638749, + 0.39218673, + 0.38804199, + 0.38395236, + 0.37991695, + 0.37593489, + 0.37200533, + 0.36812743, + 0.36430038, + 0.36052337, + 0.35679561, + 0.35311633, + 0.34948475, + 0.34590015, + 0.34236177, + 0.33886891, + 0.33542085, + 0.33201690, + 0.32865638, + 0.32533863, + 0.32206298, + 0.31882879, + 0.31563542, + 0.31248226, + 0.30936870, + 0.30629412, + 0.30325795, + 0.30025961, + 0.29729852, + 0.29437413, + 0.29148588, + 0.28863325, + 0.28581570, + 0.28303270, + 0.28028376, + 0.27756836, + 0.27488601, + 0.27223623, + 0.26961854, + 0.26703247, + 0.26447756, + 0.26195335, + 0.25945941, + 0.25699529, + 0.25456057, + 0.25215482, + 0.24977762, + 0.24742857, + 0.24510727, + 0.24281331, + 0.24054632, + 0.23830590, + 0.23609169, + 0.23390332, + 0.23174041, + 0.22960262, + 0.22748959, + 0.22540097, + 0.22333643, + 0.22129563, + 0.21927825, + 0.21728395, + 0.21531242, + 0.21336335, + 0.21143642, + 0.20953135, + 0.20764781, + 0.20578553, + 0.20394422, + 0.20212358, + 0.20032334, + 0.19854323, + 0.19678297, + 0.19504230, + 0.19332095, + 0.19161866, + 0.18993519, + 0.18827027, + 0.18662367, + 0.18499514, + 0.18338444, + 0.18179134, + 0.18021561, + 0.17865701, + 0.17711532, + 0.17559033, + 0.17408181, + 0.17258954, + 0.17111333, + 0.16965296, + 0.16820822, + 0.16677892, + 0.16536485, + 0.16396583, + 0.16258165, + 0.16121212, + 0.15985707, + 0.15851631, + 0.15718965, + 0.15587691, + 0.15457793, + 0.15329252, + 0.15202052, + 0.15076176, + 0.14951607, + 0.14828329, + 0.14706325, + 0.14585580, + 0.14466079, + 0.14347805, + 0.14230744, + 0.14114881, + 0.14000200, + 0.13886688, + 0.13774330, + 0.13663112, + 0.13553019, + 0.13444039, + 0.13336158, + 0.13229362, + 0.13123639, + 0.13018974, + 0.12915357, + 0.12812773, + 0.12711210, + 0.12610657, + 0.12511101, + 0.12412531, + 0.12314934, + 0.12218298, + 0.12122614, + 0.12027869, + 0.11934052, + 0.11841152, + 0.11749159, + 0.11658061, + 0.11567849, + 0.11478512, + 0.11390040, + 0.11302422, + 0.11215649, + 0.11129711, + 0.11044599, + 0.10960302, + 0.10876811, + 0.10794118, + 0.10712212, + 0.10631086, + 0.10550729, + 0.10471133, + 0.10392290, + 0.10314191, + 0.10236828, + 0.10160191, + 0.10084274, + 0.10009067, + 0.09934563, + 0.09860754, + 0.09787633, + 0.09715190, + 0.09643420, + 0.09572314, + 0.09501864, + 0.09432065, + 0.09362907, + 0.09294386, + 0.09226492, + 0.09159220, + 0.09092562, + 0.09026512, + 0.08961063, + 0.08896209, + 0.08831943, + 0.08768258, + 0.08705149, + 0.08642609, + 0.08580631, + 0.08519210, + 0.08458341, + 0.08398016, + 0.08338229, + 0.08278976, + 0.08220251, + 0.08162047, + 0.08104360, + 0.08047183, + 0.07990512, + 0.07934340, + 0.07878663, + 0.07823475, + 0.07768772, + 0.07714548, + 0.07660798, + 0.07607516, + 0.07554699, + 0.07502342, + 0.07450438, + 0.07398985, + 0.07347976, + 0.07297408, + 0.07247276, + 0.07197575, + 0.07148301, + 0.07099449, + 0.07051016, + 0.07002996, + 0.06955386, + 0.06908181, + 0.06861378, + 0.06814971, + 0.06768958, + 0.06723333, + 0.06678094, + 0.06633236, + 0.06588755, + 0.06544648, + 0.06500910, + 0.06457539, + 0.06414530, + 0.06371879, + 0.06329584, + 0.06287640, + 0.06246044, + 0.06204793, + 0.06163883, + 0.06123310, + 0.06083072, + 0.06043165, + 0.06003586, + 0.05964332, + 0.05925399, + 0.05886783, + 0.05848484, + 0.05810496, + 0.05772817, + 0.05735443, + 0.05698373, + 0.05661603, + 0.05625130, + 0.05588951, + 0.05553063, + 0.05517464, + 0.05482150, + 0.05447120, + 0.05412370, + 0.05377897, + 0.05343699, + 0.05309773, + 0.05276117, + 0.05242728, + 0.05209604, + 0.05176742, + 0.05144139, + 0.05111793, + 0.05079701, + 0.05047862, + 0.05016273, + 0.04984931, + 0.04953835, + 0.04922981, + 0.04892367, + 0.04861992, + 0.04831853, + 0.04801948, + 0.04772275, + 0.04742831, + 0.04713614, + 0.04684623, + 0.04655855, + 0.04627308, + 0.04598980, + 0.04570870, + 0.04542974, + 0.04515291, + 0.04487820, + 0.04460557, + 0.04433502, + 0.04406653, + 0.04380007, + 0.04353562, + 0.04327318, + 0.04301271, + 0.04275421, + 0.04249765, + 0.04224301, + 0.04199029, + 0.04173946, + 0.04149050, + 0.04124341, + 0.04099815, + 0.04075472, + 0.04051310, + 0.04027327, + 0.04003522, + 0.03979893, + 0.03956438, + 0.03933157, + 0.03910047, + 0.03887106, + 0.03864335, + 0.03841730, + 0.03819290, + 0.03797015, + 0.03774902, + 0.03752951, + 0.03731159, + 0.03709525, + 0.03688049, + 0.03666728, + 0.03645561, + 0.03624547, + 0.03603685, + 0.03582973, + 0.03562410, + 0.03541995, + 0.03521726, + 0.03501602, + 0.03481622, + 0.03461785, + 0.03442089, + 0.03422534, + 0.03403117, + 0.03383838, + 0.03364696, + 0.03345690, + 0.03326817, + 0.03308078, + 0.03289471, + 0.03270995, + 0.03252649, + 0.03234432, + 0.03216342, + 0.03198379, + 0.03180541, + 0.03162828, + 0.03145238, + 0.03127771, + 0.03110425, + 0.03093199, + 0.03076093, + 0.03059105, + 0.03042234, + 0.03025480, + 0.03008842, + 0.02992318, + 0.02975907, + 0.02959609, + 0.02943422, + 0.02927347, + 0.02911381, + 0.02895524, + 0.02879776, + 0.02864134, + 0.02848599, + 0.02833169, + 0.02817843, + 0.02802622, + 0.02787503, + 0.02772486, + 0.02757571, + 0.02742756, + 0.02728040, + 0.02713423, + 0.02698905, + 0.02684483, + 0.02670158, + 0.02655928, + 0.02641794, + 0.02627753, + 0.02613806, + 0.02599951, + 0.02586188, + 0.02572517, + 0.02558936, + 0.02545444, + 0.02532041, + 0.02518727, + 0.02505501, + 0.02492361, + 0.02479307, + 0.02466339, + 0.02453456, + 0.02440657, + 0.02427941, + 0.02415309, + 0.02402758, + 0.02390290, + 0.02377902, + 0.02365594, + 0.02353366, ) @@ -1035,15 +1035,15 @@ def test_F_air_Bodhaine1999(self): """ self.assertAlmostEqual( - F_air_Bodhaine1999(0.360), 1.125664021159081, places=7 + F_air_Bodhaine1999(0.360), 1.052659005129014, places=7 ) self.assertAlmostEqual( - F_air_Bodhaine1999(0.555), 1.124691670240156, places=7 + F_air_Bodhaine1999(0.555), 1.048769718142427, places=7 ) self.assertAlmostEqual( - F_air_Bodhaine1999(0.830), 1.124386455783539, places=7 + F_air_Bodhaine1999(0.830), 1.047548896943893, places=7 ) self.assertAlmostEqual( @@ -1051,11 +1051,11 @@ def test_F_air_Bodhaine1999(self): ) self.assertAlmostEqual( - F_air_Bodhaine1999(0.555, 360), 1.127993015096689, places=7 + F_air_Bodhaine1999(0.555, 360), 1.048775791959338, places=7 ) self.assertAlmostEqual( - F_air_Bodhaine1999(0.830, 620), 1.13577082, places=7 + F_air_Bodhaine1999(0.830, 620), 1.047581672775155, places=7 ) def test_n_dimensional_F_air_Bodhaine1999(self): @@ -1279,19 +1279,19 @@ def test_scattering_cross_section(self): self.assertAlmostEqual( scattering_cross_section(360 * 10e-8), - 2.781289234802031e-26, + 2.600908533851937e-26, places=32, ) self.assertAlmostEqual( scattering_cross_section(555 * 10e-8), - 4.661330902337604e-27, + 4.346669248087624e-27, places=32, ) self.assertAlmostEqual( scattering_cross_section(830 * 10e-8), - 9.125100352218880e-28, + 8.501515434751428e-28, places=32, ) @@ -1303,31 +1303,31 @@ def test_scattering_cross_section(self): self.assertAlmostEqual( scattering_cross_section(555 * 10e-8, 360), - 4.675013461928133e-27, + 4.346694421271718e-27, places=32, ) self.assertAlmostEqual( scattering_cross_section(555 * 10e-8, 620), - 4.707951639592975e-27, + 4.346803470171720e-27, places=32, ) self.assertAlmostEqual( scattering_cross_section(555 * 10e-8, temperature=200), - 2.245601437154005e-27, + 2.094012829135068e-27, places=32, ) self.assertAlmostEqual( scattering_cross_section(555 * 10e-8, temperature=300), - 5.052603233596510e-27, + 4.711528865553901e-27, places=32, ) self.assertAlmostEqual( scattering_cross_section(555 * 10e-8, temperature=400), - 8.982405748616020e-27, + 8.376051316540270e-27, places=32, ) @@ -1379,15 +1379,15 @@ def test_rayleigh_optical_depth(self): """ self.assertAlmostEqual( - rayleigh_optical_depth(360 * 10e-8), 0.599101336848028, places=7 + rayleigh_optical_depth(360 * 10e-8), 0.560246579231107, places=7 ) self.assertAlmostEqual( - rayleigh_optical_depth(555 * 10e-8), 0.100407017728965, places=7 + rayleigh_optical_depth(555 * 10e-8), 0.093629074056042, places=7 ) self.assertAlmostEqual( - rayleigh_optical_depth(830 * 10e-8), 0.019655847912114, places=7 + rayleigh_optical_depth(830 * 10e-8), 0.018312619911882, places=7 ) self.assertAlmostEqual( @@ -1396,67 +1396,67 @@ def test_rayleigh_optical_depth(self): self.assertAlmostEqual( rayleigh_optical_depth(555 * 10e-8, 360), - 0.100698605176897, + 0.093626696247360, places=7, ) self.assertAlmostEqual( rayleigh_optical_depth(555 * 10e-8, 620), - 0.101394382260863, + 0.093616393371777, places=7, ) self.assertAlmostEqual( rayleigh_optical_depth(555 * 10e-8, temperature=200), - 0.048371194415621, + 0.045105912380991, places=7, ) self.assertAlmostEqual( rayleigh_optical_depth(555 * 10e-8, temperature=300), - 0.108835187435146, + 0.101488302857230, places=7, ) self.assertAlmostEqual( rayleigh_optical_depth(555 * 10e-8, temperature=400), - 0.193484777662482, + 0.180423649523964, places=7, ) self.assertAlmostEqual( rayleigh_optical_depth(555 * 10e-8, pressure=101325), - 0.100407017728965, + 0.093629074056042, places=7, ) self.assertAlmostEqual( rayleigh_optical_depth(555 * 10e-8, pressure=100325), - 0.099416077509583, + 0.092705026939772, places=7, ) self.assertAlmostEqual( rayleigh_optical_depth(555 * 10e-8, pressure=99325), - 0.098425137290200, + 0.091780979823502, places=7, ) self.assertAlmostEqual( rayleigh_optical_depth(555 * 10e-8, latitude=0, altitude=0), - 0.100407017728965, + 0.093629074056041, places=10, ) self.assertAlmostEqual( rayleigh_optical_depth(555 * 10e-8, latitude=45, altitude=1500), - 0.100190076534634, + 0.093426777407767, places=10, ) self.assertAlmostEqual( rayleigh_optical_depth(555 * 10e-8, latitude=48.8567, altitude=35), - 0.100108462705423, + 0.093350672894038, places=10, )