Result:
found more than 682 distributions - search limited to the first 2001 files matching your query ( run in 0.787 )


Astro-Constants

 view release on metacpan or  search on metacpan

ChangeLog  view on Meta::CPAN

* removed short names
* changed `:long` tag to `:all`

v0.14	2020 Apr
====
* updated values to the **2018 CODATA** standard
* build script now produces a Raku module for Astro::Constants
* removed references to CGS in documentation
* added script that fetches constant values and uncertainties from NIST
* added warnings to module when using deprecated constants
* added a script to archive the current PhysicalConstants.xml file
* added dimensions to constants in terms of the SI base units
* values that are established by definition are assigned an relative uncertainty of 0
* clarified definition of critical density parameter, rho_c
* updated PhysicalConstants.xml schema definition
  * changed name of **url** element to **source**
  * added _authority_, _year_ and _reference_ attributes to **source**

v0.13	2018 May
====

ChangeLog  view on Meta::CPAN

* 'precision' is broken at the moment and will be fixed in the next version

These changes are enhancements/improvements:
* Short name constants are now *actually* constant and cannot be assigned to
* Values are now stored in an XML file, PhysicalConstants.xml
* Values have been updated using NIST's CODATA 2014 and the IAU 2009/2012
	System of Astronomical Constants
* Long names have an added alternate name to facilitate migrating from
	adjective_noun to noun_adjective.


 view all matches for this distribution


Astro-Coords

 view release on metacpan or  search on metacpan

lib/Astro/Coords.pm  view on Meta::CPAN

sub usenow {
  my $self = shift;
  if (@_) {
    $self->{UseNow} = shift;
    # Since this affects caching we need to force a key check if this value
    # is updated
    $self->_calc_cache_key();
  }
  return $self->{UseNow};
}

 view all matches for this distribution


Astro-DSS-JPEG

 view release on metacpan or  search on metacpan

lib/Astro/DSS/JPEG.pm  view on Meta::CPAN

=head1 DESCRIPTION

Astro::DSS::JPEG downloads JPEG images for any location in the sky from the L<Digitized Sky Survey (DSS)|https://archive.stsci.edu/dss/>.
It is meant to be a simple stand alone module to access a fast JPEG-only API that
provides color composites made from the blue and red DSS surveys.
In comparison, there is an old/not updated L<Astro::DSS> module that would provide
access to the slow FITS/GIF interface of the separate DSS1/DSS2 surveys.

Optionally, L<SIMBAD|http://simbad.u-strasbg.fr/simbad/> is used if you'd like to use
an object name/id instead of coordinates.

lib/Astro/DSS/JPEG.pm  view on Meta::CPAN

segmentation), so if you want to make sure you have a frame with no corner gaps,
request some more angular size than you want and crop. 

Note that the module test suite won't actually fetch data from either DSS or SIMBAD.
This is mainly to ensure it will not fail even if the DSS & SIMBAD endpoints change,
as you can still use the module by passing the updated urls to the constructor. It
also avoids unneeded strain to those free services.

=cut


 view all matches for this distribution


Astro-FITS-CFITSIO-Simple

 view release on metacpan or  search on metacpan

data/zero_rows.fits  view on Meta::CPAN

SIMPLE  =                    T / file does conform to FITS standard             BITPIX  =                   16 / number of bits per data pixel                  NAXIS   =                    0 / number of data axes                            EXTEND  = ...

 view all matches for this distribution


Astro-FITS-CFITSIO

 view release on metacpan or  search on metacpan

test.pl  view on Meta::CPAN

		]
	) and $status == 0
);

pre_test('ffucrd/ffukyX');
ffucrd($fptr,'KY_MREC',"KY_UCRD = 'This keyword was updated by fxucrd'",$status);
ffukyj($fptr,'KY_IKYJ',51,'&',$status);
ffukyl($fptr,'KY_IKYL',1,'&',$status); 
ffukys($fptr,'NEWIKYS',"updated_string",'&',$status);
ffukye($fptr,'KY_IKYE',-13.3456, 4,'&',$status);
ffukyd($fptr,'KY_IKYD',-13.345678901234567, 14,'modified comment',$status);
ffukyf($fptr,'KY_IKYF',-13.3456, 4,'&',$status);
ffukyg($fptr,'KY_IKYG',-13.345678901234567, 13,'&',$status);
@tmp=();

test.pl  view on Meta::CPAN

post_test(
	cmp_str_arrays(
		\@tmp,
		[
			q!COMMENT   This keyword was modified by fxmrec!,
			q!KY_UCRD = 'This keyword was updated by fxucrd'!,
			q!NEWIKYS = 'updated_string'     / ikys comment!,
			q!KY_IKYJ =                   51 / This is a modified comment!,
			q!KY_IKYL =                    T / ikyl comment!,
			q!KY_IKYE =          -1.3346E+01 / ikye comment!,
			q!KY_IKYD = -1.33456789012346E+01 / modified comment!,
			q!KY_IKYF =             -13.3456 / ikyf comment!,

test.pl  view on Meta::CPAN

			q!KEY_PKYC= (1.313131E+01, 1.414141E+01) / fxpkyc comment!,
			q!KEY_PKYM= (1.51515151515152E+01, 1.61616161616162E+01) / fxpkym comment!,
			q!KEY_PKFC= (13.131313, 14.141414) / fxpkfc comment!,
			q!KEY_PKFM= (15.15151515151515, 16.16161616161616) / fxpkfm comment!,
			q!KEY_PKYT= 12345678.1234567890123456 / fxpkyt comment!,
			q!NEWIKYS = 'updated_string'     / ikys comment!,
		]
	)
);
$status = 0;

 view all matches for this distribution


Astro-FITS-HdrTrans

 view release on metacpan or  search on metacpan

lib/Astro/FITS/HdrTrans/Base.pm  view on Meta::CPAN

cases a single generic keyword is obtained by combining information
from multiple FITS headers.

Finally, if this translation module is to be part of the
C<Astro::FITS::HdrTrans> distribution the default list of translation
classes must be updated in C<Astro::FITS::HdrTrans>. If this is to be
a runtime plugin, then the list of classes can be expanded at
runtime. For example, it should be possible for
C<Astro::FITS::HdrTrans::MyNewInst> to automatically append itself to
the list of known classes if the module is explicitly loaded by the
user (rather than dynamically loaded to test the headers).

 view all matches for this distribution


Astro-FITS-Header

 view release on metacpan or  search on metacpan

lib/Astro/FITS/Header/Item.pm  view on Meta::CPAN

the object. This rouinte should not be called directly. Use the
C<card> method to retrieve the contents.

  $card = $item->_stringify;

The object state is not updated by this routine.

This routine is only called if the card cache has been cleared.

If this item points to a sub-header the stringification returns
a comment indicating that we have a sub header. In the future

 view all matches for this distribution


Astro-MoonPhase

 view release on metacpan or  search on metacpan

MoonPhase.pm  view on Meta::CPAN


The moontool.c Release 2.0:

    A Moon for the Sun
    Designed and implemented by John Walker in December 1987,
    revised and updated in February of 1988.

Initial Perl transcription:

    Raino Pikkarainen, 1998
    raino.pikkarainen@saunalahti.fi

 view all matches for this distribution


Astro-NED-Query

 view release on metacpan or  search on metacpan

ChangeLog  view on Meta::CPAN

	lib/Astro/NED/Query/NearName.pm,
	lib/Astro/NED/Query/NearPosition.pm, lib/Astro/NED/Query/Objects.pm,
	lib/Astro/NED/Response/CoordExtinct.pm,
	lib/Astro/NED/Response/Fields.pm, lib/Astro/NED/Response/Object.pm,
	lib/Astro/NED/Response/Objects.pm:
	updated for release

2007-10-30 16:44 -0400  djerius  <djerius@cfa.harvard.edu>  (1c1bed90eade)

	* data/bad_ra.html, data/ned1.html, t/parse_object.t: new file.
	* data/bad_ra.html, data/ned1.html, t/parse_object.t:

ChangeLog  view on Meta::CPAN

	throwing an exception.

2007-10-30 16:39 -0400  djerius  <djerius@cfa.harvard.edu>  (f80e2d9cdc15)

	* lib/Astro/NED/Response/Fields.pm:
	updated field matching, added content validity checks

	RA matching was broken, as a Spectra column was added and the RA
	match grabbed that instead. Moved field matching here from
	Response::Objects, moved case insensitivity into the actual regexps.

ChangeLog  view on Meta::CPAN

	lib/Astro/NED/Query/ByName.pm, lib/Astro/NED/Query/CoordExtinct.pm,
	lib/Astro/NED/Query/NearName.pm,
	lib/Astro/NED/Query/NearPosition.pm, lib/Astro/NED/Query/Objects.pm,
	lib/Astro/NED/Response/CoordExtinct.pm,
	lib/Astro/NED/Response/Object.pm, lib/Astro/NED/Response/Objects.pm:
	updated license

2007-09-20 20:04 -0400  djerius  <djerius@cfa.harvard.edu>  (4d99d1863a37)

	* MANIFEST: deleted file.
	* MANIFEST:

 view all matches for this distribution


Astro-PAL

 view release on metacpan or  search on metacpan

lib/Astro/PAL.pm  view on Meta::CPAN


=item palAoppat

For the C API the calling convention is to modify the AOPRMS array in
place, for the perl API we accept the AOPRMS array but return the
updated version.

  @aoprms = Astro::PAL::palAoppat( $date, \@aoprms );
  @aoprms = Astro::PAL::palAoppat( $date, @aoprms );

=cut

 view all matches for this distribution


Astro-QDP-Parse

 view release on metacpan or  search on metacpan

ChangeLog  view on Meta::CPAN

	CPAN RT address in docs used the old module name

2008-05-06 08:09 -0400  djerius  <djerius@cfa.harvard.edu>  (23d3159b86cb [0.12])

	* ChangeLog, Changes, lib/Astro/QDP/Parse.pm:
	updated version and logs for release

2008-05-06 08:06 -0400  djerius  <djerius@cfa.harvard.edu>  (67cb88c074ae)

	* MANIFEST.SKIP:
	MANIFEST.SKIP excluded Module::Install directories, causing a broken

 view all matches for this distribution


Astro-SLA

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

  - slaObs can now be called with a constant string (required by
    Astro::Telescope).

  - Added slaIntin (for completeness)

  - The tests have been updated considerably. All the examples
    from the slalib documentation are now included in the test suite.

  - Test::More is now required for the tests.

  - stime has added arguments (-epoch, -h and -man)

 view all matches for this distribution


Astro-SpaceTrack

 view release on metacpan or  search on metacpan

lib/Astro/SpaceTrack.pm  view on Meta::CPAN


=item $resp = $st->amsat ()

This method downloads current orbital elements from the Radio Amateur
Satellite Corporation's web page, L<https://www.amsat.org/>. This lists
satellites of interest to radio amateurs, and appears to be updated
weekly.

No Space Track account is needed to access this data, even if the
'direct' attribute is false. As of version 0.150 the setting of
the 'with_name' attribute is honored even if the 'direct' attribute is

lib/Astro/SpaceTrack.pm  view on Meta::CPAN

The legal options are:

 -file
   specifies the name of the cache file. If the data
   on line are newer than the modification date of
   the cache file, the cache file will be updated.
   Otherwise the data will be returned from the file.
   Either way the content of the file and the content
   of the returned HTTP::Response object end up the
   same.

lib/Astro/SpaceTrack.pm  view on Meta::CPAN

The legal options are:

 -file
   specifies the name of the cache file. If the data
   on line are newer than the modification date of
   the cache file, the cache file will be updated.
   Otherwise the data will be returned from the file.
   Either way the content of the file and the content
   of the returned HTTP::Response object end up the
   same.

lib/Astro/SpaceTrack.pm  view on Meta::CPAN

defaults to 500) will be ignored with a warning to STDERR.

If you specify C<-json> and more than one retrieval is needed, data from
retrievals after the first B<may> have field C<_file_of_record> added.
This is because of the theoretical possibility that the database may be
updated between the first and last queries, and therefore taking the
maximum C<FILE> from queries after the first may cause updates to be
skipped. The C<_file_of_record> key will appear only in data having a
C<FILE> value greater than the largest C<FILE> in the first retrieval.

This method implicitly calls the C<login()> method if the session cookie

lib/Astro/SpaceTrack.pm  view on Meta::CPAN


=item $resp = $st->update( $file_name );

This method updates the named TLE file, which must be in JSON format. On
a successful update, the content of the returned HTTP::Response object
is the updated TLE data, in whatever format is desired. If any updates
were in fact found, the file is rewritten. The rewritten JSON will be
pretty if the C<pretty> attribute is true.

The file to be updated can be generated by using the C<-json> option on
any of the methods that accesses Space Track data. For example,

 # Assuming $ENV{SPACETRACK_USER} contains
 # username/password
 my $st = Astro::SpaceTrack->new(

lib/Astro/SpaceTrack.pm  view on Meta::CPAN

The following is the equivalent example using the F<SpaceTrack> script:

 SpaceTrack> set pretty 1
 SpaceTrack> spacetrack -json iridium >iridium.json

This method reads the file to be updated, determines the highest C<FILE>
value, and then requests the given OIDs, restricting the return to
C<FILE> values greater than the highest found. If anything is returned,
the file is rewritten.

The following options may be specified:

lib/Astro/SpaceTrack.pm  view on Meta::CPAN

Options may be specified either in command-line style (that is, as
C<< spacetrack( '-json', ... ) >>) or as a hash reference (that is, as
C<< spacetrack( { json => 1 }, ... ) >>).

B<Note> that there is no way to specify the C<-rcs> or C<-effective>
options. If the file being updated contains these values, they will be
lost as the individual OIDs are updated.

=cut

{

 view all matches for this distribution


Astro-Sunrise

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

      more informative. R.Bowen

0.03  Thurs Feb 15 08:30:00 2001
        - Added copyright information
        - fixed bug for converting to local time
        - updated documentation R.Hill

0.02  Tues Jun 20 08:30:00 2000
        - Added code to convert to local time. R.Hill


 view all matches for this distribution


Astro-Telescope

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

To allow for Minor Planet Center observatory code use, this module
uses a data file containing the MPC observatory code, longitude, and
parallax coefficients for a large number of observatories. This data
file resides in tmpl/MPC.dat and a new version can be
obtained from http://www.minorplanetcenter.net/iau/lists/ObsCodes.html.
To use an updated version, copy the information from that page (only the data,
not any of the headers) into tmpl/MPC.dat, then build
this module again. This will automatically create Telescope/MPC.pm,
which can then be installed as part of this module.

Building

 view all matches for this distribution


Astro-WaveBand

 view release on metacpan or  search on metacpan

t/waveband.t  view on Meta::CPAN

is($wb4->transition, '3 - 2', 'Read transition accessor');
$wb4->frequency(354.5054759e9);
$wb4->species('HCN');
$wb4->transition('4 - 3');
is($wb4->species, 'HCN', 'Read update species accessor');
is($wb4->transition, '4 - 3', 'Read updated transition accessor');

is($wb4->frequency({format => 1}), '354.505 GHz', 'Format frequency');
is($wb4->frequency({format => 1, ndp => 1}), '354.5 GHz', 'Format frequency, 1 dp');
is($wb4->natural({format => 1, ndp => 2}), '354.51 GHz', 'Natural format, 2 dp');
is($wb4->wavelength({format => 1}), '845.664 mu', 'Format wavelength');

 view all matches for this distribution


Astro-satpass

 view release on metacpan or  search on metacpan

lib/Astro/Coord/ECI/TLE.pm  view on Meta::CPAN

#* -----------------------------------------------------------------------------
#*
#*                             SUBROUTINE SGP4
#*
#*  this procedure is the sgp4 prediction model from space command. this is an
#*    updated and combined version of sgp4 and sdp4, which were originally
#*    published separately in spacetrack report #3. this version follows the
#*    methodology from the aiaa paper (2006) describing the history and
#*    development of the code.
#*
#*  author        : david vallado                  719-573-2600   28 jun 2005

 view all matches for this distribution


Async-Event-Interval

 view release on metacpan or  search on metacpan

t/10-shared.t  view on Meta::CPAN


$e->start;
sleep 1;
$e->stop;

is $$scalar_a, 99, "shared var a has updated value after event start" ;
is $$scalar_b, 98, "shared var b has updated value after event start" ;

$x->start;
sleep 1;
$x->stop;

is $$scalar_a, 'hello, world', "shared var a has updated value in separate event" ;

sub perform {
    $$scalar_a = 99;
    $$scalar_b = 98;
}

 view all matches for this distribution


Async-Microservice

 view release on metacpan or  search on metacpan

lib/Async/MicroserviceReq.pm  view on Meta::CPAN


Send redirect.

=head2 static($file_name, $content_cb)

Send static file, can be updated/modified using optional callback.

=head2 get_pending_req

Returns number of currently pending async requests.

 view all matches for this distribution


Async-Selector

 view release on metacpan or  search on metacpan

lib/Async/Selector.pm  view on Meta::CPAN

You can register as many resources as you like.

The resource name (C<$name>) is an arbitrary string.
It is used to select the resource in C<watch()> method.
If C<$name> is already registered with C<$selector>,
the resource provider is updated with C<$provider> and the old one is discarded.

The resource provider (C<$provider>) is a subroutine reference.
Its return value is supposed to be a scalar data of the resource if it's available,
or C<undef> if it's NOT available.

 view all matches for this distribution


Async-Trampoline

 view release on metacpan or  search on metacpan

lib/Async/Trampoline.pm  view on Meta::CPAN


In B<Incomplete> states, the Async will be processed in the future.
At some point, the Async will transition to a completed state.

In C<async> and C<await> callbacks,
the Async will be updated to the state of the return value of that callback.

B<Completed> states are terminal.
The Asyncs are not subject to further processing.

A B<Cancelled> Async represents an aborted computation.

lib/Async/Trampoline.pm  view on Meta::CPAN

    $async = async { ... };

Create an Incomplete Async with a code block.
The callback must return an Async.
When the Async is evaluated,
this Async is updated to the state of the returned Async.

=head2 async_value

    $async = async_value @values;

lib/Async/Trampoline.pm  view on Meta::CPAN

    };

Wait until the C<$dependency> or C<@dependencies> Asyncs have a value,
then call the callback with the values as arguments.
If a dependency was cancelled or has an error,
the async is updated to that state.
The callback must return an Async.
Use this to chain Asyncs.
It does not directly return the values.

=head2 resolved_or

lib/Async/Trampoline.pm  view on Meta::CPAN


    $async = $first_async->resolved_or($alternative_async);
    $async = $first_async->value_or($alternative_async);

Evaluate the C<$first_async>.
Upon success, the Async is updated to the state of the C<$first_async>.
On failure, the C<$second_async> is evaluated instead.
This creates a new Async that will be updated
when the dependencies become available.

B<resolved_or> succeeds on Value or Error, and fails on Cancelled.
Use this as a fallback against cancellation.

lib/Async/Trampoline.pm  view on Meta::CPAN

    $async = $first_async->resolved_then($second_async);
    $async = $first_async->value_then($second_async);

Evaluate the C<$first_async>.
Upon success, the C<$second_async> is evaluated.
On failure, the Async is updated to the state of the C<$first_async>.
This creates a new Async that will be updated
when the dependencies become available.

B<complete_then> always succeeds (Cancelled, Error, Value).

B<resolved_then> succeeds on Error or Value, and fails on Cancelled.

 view all matches for this distribution


At

 view release on metacpan or  search on metacpan

lib/At/Protocol/Handle.pm  view on Meta::CPAN

    }

    # Taken from https://github.com/bluesky-social/atproto/blob/main/packages/syntax/src/handle.ts
    # Handle constraints, in English:
    #  - must be a possible domain name
    #    - RFC-1035 is commonly referenced, but has been updated. eg, RFC-3696,
    #      section 2. and RFC-3986, section 3. can now have leading numbers (eg,
    #      4chan.org)
    #    - "labels" (sub-names) are made of ASCII letters, digits, hyphens
    #    - can not start or end with a hyphen
    #    - TLD (last component) should not start with a digit

 view all matches for this distribution


( run in 0.787 second using v1.01-cache-2.11-cpan-05444aca049 )