| Astro :: FluxColor. ASTRO :: FLUXCOLORÀº õ¹®ÇÐÀû ÀÎ »ö¼Ò¸¦ Ãë±ÞÇϱâÀ§ÇÑ PERL Ŭ·¡½ºÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
Astro :: FluxColor. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Brad Cavanagh
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~bradc/Astro-Flux-0.01/FluxColor.pm
Astro :: FluxColor. ű×
Astro :: FluxColor. ¼³¸í
Astro :: FluxColor´Â õ¹®ÇÐÀû ÀÎ »ö¼Ò¸¦ Ãë±ÞÇϱâÀ§ÇÑ Perl Ŭ·¡½ºÀÔ´Ï´Ù. Astro :: FluxColor´Â õ¹®ÇÐÀû ÀÎ »ö¼Ò¸¦ Ãë±ÞÇϱâÀ§ÇÑ Perl Ŭ·¡½ºÀÔ´Ï´Ù. ½Ä´Ï ÇȽº¸®½º Astro :: FluxColor; $ color = new astro :: fluxcolor (lower => $ lower_waveband, upper => $ upper_waveband, ¼ö·® => $ quantay, datetime => »õ datetime); $ QUATEM = $ color-> ¼ö·®; methodscronstructornewCreate Astro :: FluxColor °´Ã¼ÀÇ »õ·Î¿î ÀνºÅϽº. $ = new astro :: fluxcolor (lower => $ lower_waveband, upper => $ upper_waveband, ¼ö·® => $ quantay, datetime = > »õ·Î¿î DateTime); ¼¼ ¸íÀÇ ¸í¸í µÈ ¸Å°³ º¯¼ö°¡ Çʼö Ç׸ñÀÔ´Ï´Ù. ÇÏÀ§ ¹× À§ÂÊÀº »ö»óÀÇ ÇÏÇÑ ¹× »óºÎ ÆÄÀå ¹êµå¸¦ ³ªÅ¸³»¸ç Astro :: Waveband Objects°¡ ÀÖ¾î¾ßÇÕ´Ï´Ù. ¼ö·®Àº magnitudesÀÇ ¼ýÀÚ °ªÀÔ´Ï´Ù .Accessor methodsQuantity´Â ½ÇÁ¦ »ö»ó °ªÀ» ¼øȯÇÕ´Ï´Ù. ³» $ Value = $ color-> ¼ö·®; ¸Å°³ º¯¼ö°¡ ¾ø½À´Ï´Ù. ³» $ e = $ color-> ¿À·ù; ¸Å°³ º¯¼ö°¡ ¾ø½À´Ï´Ù. ³·Àº ¿þÀÌºê ¹êµå°¡ ÀÖ½À´Ï´Ù. ³» $ lower = $ color-> ¾Æ·¡ÂÊ; ¸Å°³ º¯¼ö°¡ ¾ø½À´Ï´Ù. Astro :: Waveband Object°¡ ¹ÝȯµË´Ï´Ù. À§ÀÇ ¿þÀÌºê ¹êµå¸¦ À§·Î µ¹¸®½Ê½Ã¿À. My $ Upper = $ color-> ¾îÆÛ; ¸Å°³ º¯¼ö°¡ ¾ø½À´Ï´Ù. Astro :: Waveband Object´Â ¹ÝȯµË´Ï´Ù. ³» $ datetime = $ flux-> datetime; Á¤ÀÇ µÈ °æ¿ì ³¯Â¥ :: DateTime °´Ã¼¸¦ ¸®ÅÏÇÕ´Ï´Ù. ±×·¸Áö ¾ÊÀº °æ¿ì undef¸¦ ¹ÝȯÇÕ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.
Astro :: FluxColor. °ü·Ã ¼ÒÇÁÆ®¿þ¾î