@classmethod<EOL><INDENT>def from_sky(cls, distancelimit=<NUM_LIT:15>, magnitudelimit=<NUM_LIT>):<DEDENT>
<EOL>criteria = []<EOL>if distancelimit is not None:<EOL><INDENT>criteria.append('<STR_LIT>'.format(<NUM_LIT>/distancelimit))<EOL><DEDENT>if magnitudelimit is not None:<EOL><INDENT>criteria.append('<STR_LIT>'.format(magnitudelimit))<EOL><DEDENT>allskyquery = """<STR_LIT>""".format(cls.basequery, '<STR_LIT>'.join(criteria))<EOL>print(allskyquery)<EOL>print('<STR_LIT>'.format(distancelimit, magnitudelimit))<EOL>table = query(allskyquery)<EOL>c = cls(cls.standardize_table(table))<EOL>c.standardized.meta['<STR_LIT>'] = allskyquery<EOL>c.standardized.meta['<STR_LIT>'] = magnitudelimit<EOL>c.standardized.meta['<STR_LIT>'] = distancelimit<EOL>return c<EOL>
Create a Constellation from a criteria search of the whole sky.

Parameters
----------
distancelimit : float
    Maximum distance (parsecs).
magnitudelimit : float
    Maximum magnitude (for Gaia G).