Skip to content

Create galaxy samples with custom filter#1

Open
0Navin0 wants to merge 1 commit intoLSSTDESC:mainfrom
0Navin0:main
Open

Create galaxy samples with custom filter#1
0Navin0 wants to merge 1 commit intoLSSTDESC:mainfrom
0Navin0:main

Conversation

@0Navin0
Copy link

@0Navin0 0Navin0 commented Nov 4, 2025

An alternative to the opencosmo package, tested to access DiffSky catalogs on NERSC.

This is an independent implementation to access all the diffsky files at the path given in the code. One can edit the path in the code and apply it to any other catalog in principle.

Modify the cuts function to include any additional cuts on the galaxy sample.
The resulting sample is not saved yet. But it should be easy to implement in any format (parquet/hdf5/pandas etc).

I wrote this test to independently validate the galaxy samples obtained from opencosmo.

@0Navin0 0Navin0 marked this pull request as draft November 4, 2025 05:53
@0Navin0 0Navin0 closed this Nov 4, 2025
@0Navin0 0Navin0 reopened this Nov 4, 2025
@0Navin0 0Navin0 marked this pull request as ready for review November 4, 2025 06:15
An alternative to opencosmo package, tested to access diffsky catalogs on
NERSC. I wrote this test to independently validate the galaxy samples obtained
from opencosmo.

The access to all the diffsky catalogs at NERSC is set by the path given in the
code. One can edit the path in the code and apply to any other catalog in
principle.

Features:
* Modify the 'cuts' function to include any additional cuts on the galaxy sample.
* Save the filtered catalog in hdf5 format.
@0Navin0 0Navin0 marked this pull request as draft November 4, 2025 07:31
@0Navin0 0Navin0 marked this pull request as ready for review November 4, 2025 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant