SWIFTSIM / velociraptor-python

Python tools for using velociraptor catalogues, with SWIFT integration
GNU Lesser General Public License v3.0
0 stars 8 forks source link

Axis labels are missing if the bins are empty #33

Open EvgeniiChaikin opened 4 years ago

EvgeniiChaikin commented 4 years ago

For example, in one of my runs analysed using the pipeline that includes the latest updates from @jtrayford , you may take a look at this new plot

There is clearly some data present in the plot (the three blue dots). However, this is not sufficient to have at least one median bin with a non-zero value in it.

I suspect that since there is no data in the bins, the axis labels cannot be inferred. I guess if we get the labels directly from the data and not from the bins, this problem can be resolved? What do you think @JBorrow ?

JBorrow commented 4 years ago

I think you're correct, but I would have imagined that we would have picked this up from the points...

Do you have the data so I can try this myself?

JBorrow commented 4 years ago

Can you try the velociraptor-python branch fix_labels_for_low_data_volumes?

EvgeniiChaikin commented 4 years ago

Sure, you may use the data in /snap7/scratch/dp004/dc-chai1/my_cosmological_box/AGN4_L006188_00_dust_M16/

There is already a halo catalogue halo_1141.properties.0 so you do not need to run VR

I will look at the fix_labels_for_low_data_volumes branch as soon as I have got time.

JBorrow commented 3 years ago

I think unfortunately this is a case where it's out of our hands...